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.001077/0.001077, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 183.2 kB / 16.92 MB, free: 6.918 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.352 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.592/2.592, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6501/0.6505, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001592/0.6522, allocations: 1.248 MB / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006178/0.6528, allocations: 436.1 kB / 0.9573 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.6528, allocations: 0 / 0.9573 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.6529, allocations: 1.062 kB / 0.9573 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.6529, allocations: 8.984 kB / 0.9573 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.6531, allocations: 24.36 kB / 0.9574 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.6532, allocations: 38.02 kB / 0.9574 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6534, allocations: 22.48 kB / 0.9574 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.6535, allocations: 22.44 kB / 0.9574 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.6535, allocations: 13.58 kB / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.6536, allocations: 1.562 kB / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.6536, allocations: 1.812 kB / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.6536, allocations: 13.2 kB / 0.9575 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.6536, allocations: 38.2 kB / 0.9575 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.916e-05/0.6537, allocations: 22.72 kB / 0.9575 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.6537, allocations: 4 kB / 0.9575 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6537, allocations: 3.938 kB / 0.9575 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6537, allocations: 1.094 kB / 0.9575 GB, free: 6.293 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.0004598/0.6542, allocations: 363.4 kB / 0.9579 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6543, allocations: 9.406 kB / 0.9579 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.6543, allocations: 7.25 kB / 0.9579 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.893e-05/0.6544, allocations: 175.6 kB / 0.9581 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.6544, allocations: 7.031 kB / 0.9581 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.6544, allocations: 1.844 kB / 0.9581 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.6547, allocations: 71.66 kB / 0.9581 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.6547, allocations: 0 / 0.9581 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.6547, allocations: 9.078 kB / 0.9581 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.6547, allocations: 1.094 kB / 0.9581 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.6549, allocations: 54.59 kB / 0.9582 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.6553, allocations: 292.2 kB / 0.9585 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.6557, allocations: 70.86 kB / 0.9585 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.6558, allocations: 27.75 kB / 0.9586 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.6558, allocations: 3.984 kB / 0.9586 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.6558, allocations: 43.59 kB / 0.9586 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.6558, allocations: 1.312 kB / 0.9586 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003812/0.6562, allocations: 93.91 kB / 0.9587 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.6562, allocations: 56.97 kB / 0.9588 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.6563, allocations: 124.9 kB / 0.9589 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.6563, allocations: 29.64 kB / 0.9589 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.6564, allocations: 92.05 kB / 0.959 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.6564, allocations: 7.844 kB / 0.959 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.6564, allocations: 11.81 kB / 0.959 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.6565, allocations: 322.8 kB / 0.9593 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.6566, allocations: 27.14 kB / 0.9593 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.6567, allocations: 20.73 kB / 0.9594 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.6568, allocations: 47.83 kB / 0.9594 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6569, allocations: 0 / 0.9594 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002128/0.6571, allocations: 81.8 kB / 0.9595 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6571, allocations: 10 kB / 0.9595 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6571, allocations: 1.188 kB / 0.9595 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6571, allocations: 0 / 0.9595 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.6572, allocations: 12.23 kB / 0.9595 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6572, allocations: 1.531 kB / 0.9595 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.6573, allocations: 8.812 kB / 0.9595 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.6573, allocations: 1.562 kB / 0.9595 GB, free: 4.371 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.6574, allocations: 123.2 kB / 0.9596 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.6574, allocations: 7.031 kB / 0.9596 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.6574, allocations: 5.594 kB / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6574, allocations: 0 / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6574, allocations: 1.469 kB / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.6575, allocations: 0 / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.6576, allocations: 188.2 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6576, allocations: 0 / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.6577, allocations: 8.219 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6577, allocations: 0 / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.6577, allocations: 5.453 kB / 0.9598 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6577, allocations: 0 / 0.9598 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6577, allocations: 0 / 0.9598 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.658, allocations: 178.3 kB / 0.96 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.658, allocations: 86.84 kB / 0.9601 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.658, allocations: 0 / 0.9601 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.6581, allocations: 5.375 kB / 0.9601 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.6582, allocations: 9.719 kB / 0.9601 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.6582, allocations: 7.984 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.6582, allocations: 90.03 kB / 0.9602 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6582, allocations: 0 / 0.9602 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002149/0.6584, allocations: 9.281 kB / 0.9602 GB, free: 3.648 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.599e-05/0.6585, allocations: 98.61 kB / 0.9603 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.6588, allocations: 50.22 kB / 0.9604 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6588, allocations: 1.375 kB / 0.9604 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/0.6589, allocations: 27.05 kB / 0.9604 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.6592, allocations: 6.688 kB / 0.9604 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.6596, allocations: 195.4 kB / 0.9606 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.6597, allocations: 0.6851 MB / 0.9612 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.6597, allocations: 10.19 kB / 0.9613 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6597, allocations: 0 / 0.9613 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.002196/0.6619, allocations: 0.695 MB / 0.9619 GB, free: 2.277 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","/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