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.005813/0.005813, allocations: 101.6 kB / 15.73 MB, free: 6.477 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.001282/0.001282, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.31/1.31, allocations: 222.9 MB / 240.3 MB, free: 4.363 MB / 190.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.276/2.276, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 62.34 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3674, allocations: 140.4 MB / 1.088 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003648/0.3711, allocations: 1.523 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3721, allocations: 432.4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.3722, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.631e-05/0.3723, allocations: 7.922 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.3724, allocations: 11.88 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3727, allocations: 23.98 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3728, allocations: 51.77 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.373, allocations: 19.98 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.3731, allocations: 19.92 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.3732, allocations: 19.92 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3732, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.3732, allocations: 4 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.3733, allocations: 27.84 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.3733, allocations: 15.88 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.3734, allocations: 43.81 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3734, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.809e-06/0.3734, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3735, allocations: 3.938 kB / 1.09 GB, free: 15.35 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.0006033/0.3741, allocations: 363.2 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.3741, allocations: 8.031 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.3742, allocations: 8.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3743, allocations: 180.2 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3744, allocations: 4.375 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3744, allocations: 4.375 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3746, allocations: 61.98 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3747, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3747, allocations: 4 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3747, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.3749, allocations: 47.91 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.3754, allocations: 296.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.3757, allocations: 58.55 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.385e-05/0.3758, allocations: 32.84 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3759, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3759, allocations: 30.56 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3759, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003696/0.3763, allocations: 89.64 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3763, allocations: 51.41 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3765, allocations: 121.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3765, allocations: 29.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.3766, allocations: 100 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.3766, allocations: 3.906 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.3766, allocations: 13.72 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3768, allocations: 322.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.3769, allocations: 19.92 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.377, allocations: 19.98 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3771, allocations: 40.78 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3771, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002033/0.3773, allocations: 73.56 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3774, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3774, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3774, allocations: 11.94 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.3775, allocations: 7.984 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3775, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.3775, allocations: 7.938 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3776, allocations: 4 kB / 1.092 GB, free: 13.14 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 8.471e-05/0.3777, allocations: 113.8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.3777, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.3777, allocations: 11.89 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3777, allocations: 336 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3778, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3778, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.378, allocations: 181.6 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.378, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.378, allocations: 15.97 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3781, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3781, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3781, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3781, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3783, allocations: 175.4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.3784, allocations: 84.95 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3784, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.3785, allocations: 7.984 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.3786, allocations: 4 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3786, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.497e-05/0.3786, allocations: 91.27 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3787, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002216/0.3789, allocations: 11.94 kB / 1.093 GB, free: 12.35 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.0001434/0.379, allocations: 99.78 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3793, allocations: 43.89 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3793, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.3794, allocations: 23.92 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3797, allocations: 1.406 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.3802, allocations: 149.4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3805, allocations: 0.6807 MB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.3805, allocations: 7.984 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3806, allocations: 7.438 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.3806, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of Templates: time 0.00306/0.3836, allocations: 482.6 kB / 1.094 GB, free: 10.82 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches