Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 11.98 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.821, allocations: 142.3 MB / 0.9535 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001528/0.8226, allocations: 1.226 MB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.8232, allocations: 401.8 kB / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.8232, allocations: 0 / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.8233, allocations: 5.5 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.8233, allocations: 4 kB / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.8235, allocations: 21.81 kB / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.8236, allocations: 32.12 kB / 0.9551 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.8237, allocations: 14.05 kB / 0.9552 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.8238, allocations: 14.48 kB / 0.9552 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.8239, allocations: 17.73 kB / 0.9552 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.8239, allocations: 1.344 kB / 0.9552 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.8239, allocations: 1.812 kB / 0.9552 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.8239, allocations: 12.92 kB / 0.9552 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.824, allocations: 32.2 kB / 0.9552 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.812e-05/0.824, allocations: 26.92 kB / 0.9553 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.824, allocations: 1.281 kB / 0.9553 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8241, allocations: 0 / 0.9553 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.8241, allocations: 0 / 0.9553 GB, free: 6.629 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004281/0.8245, allocations: 356.2 kB / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8245, allocations: 12.77 kB / 0.9556 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.8246, allocations: 10.36 kB / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.609e-05/0.8247, allocations: 178.5 kB / 0.9558 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.8247, allocations: 1.156 kB / 0.9558 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.8247, allocations: 7.75 kB / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.8249, allocations: 61.42 kB / 0.9559 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8249, allocations: 0 / 0.9559 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.825, allocations: 1.5 kB / 0.9559 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.825, allocations: 1.406 kB / 0.9559 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.8252, allocations: 57.12 kB / 0.9559 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.8256, allocations: 297.7 kB / 0.9562 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.8259, allocations: 70.45 kB / 0.9563 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.8259, allocations: 5.375 kB / 0.9563 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.8259, allocations: 38.52 kB / 0.9563 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.8259, allocations: 4 kB / 0.9563 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003747/0.8263, allocations: 103.1 kB / 0.9564 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.8264, allocations: 51.41 kB / 0.9565 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.8264, allocations: 125.5 kB / 0.9566 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.8265, allocations: 25.7 kB / 0.9566 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.8265, allocations: 94.94 kB / 0.9567 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.8265, allocations: 9.281 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.8265, allocations: 0 / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.8266, allocations: 313.3 kB / 0.957 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.8267, allocations: 20.83 kB / 0.957 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.8268, allocations: 24.83 kB / 0.957 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.8269, allocations: 21.77 kB / 0.9571 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8269, allocations: 0 / 0.9571 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002016/0.8271, allocations: 86.3 kB / 0.9571 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8271, allocations: 4.531 kB / 0.9571 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8271, allocations: 5.641 kB / 0.9572 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.8271, allocations: 0 / 0.9572 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.8272, allocations: 12.67 kB / 0.9572 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.8272, allocations: 0 / 0.9572 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.8273, allocations: 17.81 kB / 0.9572 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.8273, allocations: 0.9062 kB / 0.9572 GB, free: 4.754 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.8274, allocations: 112.2 kB / 0.9573 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.8274, allocations: 1.906 kB / 0.9573 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.8274, allocations: 13.83 kB / 0.9573 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8275, allocations: 4.703 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8275, allocations: 0 / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8275, allocations: 1.062 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.8276, allocations: 171.2 kB / 0.9575 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8276, allocations: 3.938 kB / 0.9575 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.8277, allocations: 12.58 kB / 0.9575 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8277, allocations: 5.156 kB / 0.9575 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.8277, allocations: 0 / 0.9575 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8277, allocations: 1.094 kB / 0.9575 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8277, allocations: 3.953 kB / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.828, allocations: 185.4 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.828, allocations: 82.17 kB / 0.9578 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.828, allocations: 1.125 kB / 0.9578 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.8281, allocations: 8.734 kB / 0.9578 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.8282, allocations: 7.266 kB / 0.9578 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.8282, allocations: 0 / 0.9578 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.363e-05/0.8282, allocations: 96.11 kB / 0.9579 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8282, allocations: 0 / 0.9579 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002157/0.8284, allocations: 9.969 kB / 0.9579 GB, free: 4.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.241e-05/0.8285, allocations: 98.66 kB / 0.958 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.8287, allocations: 50.48 kB / 0.958 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8288, allocations: 0 / 0.958 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.8289, allocations: 28.17 kB / 0.958 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.8291, allocations: 11.47 kB / 0.9581 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.8294, allocations: 155.1 kB / 0.9582 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.8295, allocations: 0.6911 MB / 0.9589 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.8296, allocations: 2.344 kB / 0.9589 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.8296, allocations: 12.53 kB / 0.9589 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8296, allocations: 1.031 kB / 0.9589 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of Templates: time 0.002344/0.8319, allocations: 413.6 kB / 0.9593 GB, free: 2.828 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches