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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001402/0.001403, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001448/0.001448, allocations: 192.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 55.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9483/0.95, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002494/0.9526, allocations: 1.527 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.9533, allocations: 441 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.9533, allocations: 0.6562 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.9534, allocations: 5.969 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.9534, allocations: 8.75 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.9536, allocations: 27.38 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.9537, allocations: 47.03 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.9538, allocations: 15.11 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.9539, allocations: 19.34 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.954, allocations: 30.19 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.954, allocations: 3.406 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.954, allocations: 4.344 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.9541, allocations: 7.375 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.9541, allocations: 25.91 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.9542, allocations: 46.67 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9542, allocations: 0 / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9542, allocations: 0 / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.9542, allocations: 0 / 1.091 GB, free: 4.039 MB / 0.8575 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.0004368/0.9547, allocations: 360.4 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9547, allocations: 9.281 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.9548, allocations: 7.656 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.63e-05/0.9549, allocations: 174 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.9549, allocations: 6.469 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.9549, allocations: 3.062 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.9551, allocations: 68.47 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9551, allocations: 5.141 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.9551, allocations: 0.5625 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.9551, allocations: 0.9375 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.9553, allocations: 43.41 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.9557, allocations: 299.5 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.956, allocations: 60.41 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.9561, allocations: 23.97 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.9562, allocations: 4.797 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.9562, allocations: 35.69 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9562, allocations: 0 / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003628/0.9566, allocations: 81.75 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.9566, allocations: 56 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.9567, allocations: 119.3 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.9567, allocations: 29.7 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.9567, allocations: 96.78 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.9567, allocations: 14.14 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.9568, allocations: 17.89 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.9568, allocations: 318 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.9569, allocations: 17.62 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.957, allocations: 22.66 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.9572, allocations: 43 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9572, allocations: 0 / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002006/0.9574, allocations: 67.8 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9574, allocations: 5.828 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9574, allocations: 1.156 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9574, allocations: 0 / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.9575, allocations: 10.08 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.9575, allocations: 0.7031 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.9576, allocations: 12.73 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.9576, allocations: 2.641 kB / 1.093 GB, free: 2.25 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.9577, allocations: 116.3 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.9577, allocations: 3.109 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.9578, allocations: 9.703 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.9578, allocations: 1.859 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.9578, allocations: 0 / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9578, allocations: 1.219 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.9579, allocations: 176.5 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9579, allocations: 4.75 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.958, allocations: 9.406 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.958, allocations: 1.328 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.958, allocations: 0.7969 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.958, allocations: 4.844 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.958, allocations: 0 / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.9583, allocations: 177.1 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.9584, allocations: 87.28 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.9584, allocations: 1.469 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.9585, allocations: 8.328 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.9585, allocations: 6.266 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.9585, allocations: 1.516 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.9586, allocations: 93.44 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9586, allocations: 0 / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002204/0.9588, allocations: 13.66 kB / 1.093 GB, free: 1.559 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001328/0.959, allocations: 101.3 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.9593, allocations: 40.11 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9593, allocations: 0 / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.9594, allocations: 16.45 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.9598, allocations: 12.19 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.9603, allocations: 175.4 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.9605, allocations: 0.6833 MB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.9605, allocations: 10.19 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.9605, allocations: 0.5312 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of Templates: time 0.002628/0.9632, allocations: 0.7162 MB / 1.095 GB, free: 0.543 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time