Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00865/0.008651, allocations: 99.91 kB / 15.73 MB, free: 6.496 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.002009/0.002009, allocations: 201.2 kB / 16.68 MB, free: 6.375 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.88 kB / 1.018 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003336/0.3558, allocations: 1.534 MB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3568, allocations: 435 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.3569, allocations: 3.938 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.357, allocations: 3.938 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.3571, allocations: 11.92 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.3574, allocations: 27.92 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3575, allocations: 43.89 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3576, allocations: 16 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3578, allocations: 19.92 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.3578, allocations: 19.86 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3578, allocations: 8 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.3579, allocations: 4 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.3579, allocations: 19.91 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.358, allocations: 19.88 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3581, allocations: 39.77 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3581, allocations: 3.984 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3581, allocations: 0 / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3581, allocations: 0 / 1.169 GB, free: 4.633 MB / 0.92 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.000634/0.3588, allocations: 363.3 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3588, allocations: 12.03 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.3589, allocations: 8.891 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.359, allocations: 180.2 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.3591, allocations: 4.375 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3591, allocations: 8.359 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.3593, allocations: 65.92 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3594, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3594, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3594, allocations: 7.938 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.3596, allocations: 39.97 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.3602, allocations: 292.8 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3605, allocations: 70.41 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3606, allocations: 28.91 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3607, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3607, allocations: 30.56 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3607, allocations: 0 / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004002/0.3611, allocations: 85.59 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3612, allocations: 59.39 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3613, allocations: 121.8 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3613, allocations: 25.7 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.3614, allocations: 92.09 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3614, allocations: 11.94 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.3615, allocations: 9.719 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3616, allocations: 322.8 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.3617, allocations: 15.98 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.3618, allocations: 19.98 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.362, allocations: 36.83 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.362, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000212/0.3622, allocations: 81.55 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3622, allocations: 4 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3622, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3623, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.3623, allocations: 15.98 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3624, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.3624, allocations: 7.938 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3624, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 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 9.59e-05/0.3625, allocations: 117.8 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3626, allocations: 3.953 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.3626, allocations: 11.89 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3626, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3626, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3626, allocations: 4.328 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.3629, allocations: 185.7 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3629, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.363, allocations: 11.92 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.363, allocations: 4 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.363, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.363, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.363, allocations: 3.984 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3633, allocations: 175.3 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3633, allocations: 85.05 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3634, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.3634, allocations: 7.984 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.3635, allocations: 4 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3635, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.406e-05/0.3636, allocations: 95.27 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3636, allocations: 0 / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002218/0.3638, allocations: 15.94 kB / 1.171 GB, free: 1.621 MB / 0.92 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.0001195/0.3639, allocations: 95.25 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3642, allocations: 43.89 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3642, allocations: 0 / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3643, allocations: 19.98 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3646, allocations: 5.406 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.365, allocations: 146.5 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3654, allocations: 0.6807 MB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.3655, allocations: 0 / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.3655, allocations: 15.42 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.3655, allocations: 0 / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of Templates: time 0.002755/0.3683, allocations: 488.9 kB / 1.173 GB, free: 92 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches