Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001557/0.001558, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001688/0.001688, allocations: 191.4 kB / 17.2 MB, free: 5.598 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.458/1.458, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.2 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241/1.243, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002874/1.246, allocations: 1.512 MB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007227/1.247, allocations: 441.2 kB / 1.085 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/1.247, allocations: 0.8438 kB / 1.085 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/1.247, allocations: 4.781 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/1.247, allocations: 5.703 kB / 1.085 GB, free: 288 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/1.247, allocations: 27.27 kB / 1.085 GB, free: 272 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.935e-05/1.247, allocations: 46.55 kB / 1.085 GB, free: 248 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/1.248, allocations: 29.94 kB / 1.085 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/1.248, allocations: 23.53 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/1.248, allocations: 22.44 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/1.248, allocations: 8 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/1.248, allocations: 3.688 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/1.248, allocations: 7.422 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/1.248, allocations: 19.39 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/1.248, allocations: 44.2 kB / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.248, allocations: 1.156 kB / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/1.248, allocations: 0 / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.248, allocations: 0.7031 kB / 1.085 GB, free: 160 kB / 0.8262 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.0005806/1.249, allocations: 369 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.249, allocations: 9.531 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/1.249, allocations: 3.219 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/1.249, allocations: 178.2 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/1.249, allocations: 9.781 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/1.249, allocations: 3.125 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/1.249, allocations: 63.91 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.249, allocations: 0.6562 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.249, allocations: 5.422 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.249, allocations: 0 / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/1.249, allocations: 48.78 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/1.25, allocations: 302.5 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/1.25, allocations: 63.98 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/1.25, allocations: 22.62 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/1.25, allocations: 5.5 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.25, allocations: 34.56 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/1.25, allocations: 0 / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0004094/1.251, allocations: 88.67 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.251, allocations: 53.5 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.251, allocations: 119.8 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/1.251, allocations: 25.7 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/1.251, allocations: 95.86 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/1.251, allocations: 10 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/1.251, allocations: 18.39 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.251, allocations: 317.7 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.509e-05/1.252, allocations: 18.39 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/1.252, allocations: 16.77 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/1.252, allocations: 43.52 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.252, allocations: 0 / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002313/1.252, allocations: 72.94 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.252, allocations: 5.172 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.252, allocations: 1.375 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.252, allocations: 7.938 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/1.252, allocations: 9.344 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.252, allocations: 2.094 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/1.252, allocations: 9.203 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/1.252, allocations: 0 / 1.087 GB, free: 14.35 MB / 0.8419 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.049e-05/1.252, allocations: 117 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/1.252, allocations: 7.047 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/1.252, allocations: 10.72 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.252, allocations: 0.625 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.252, allocations: 0.6875 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/1.252, allocations: 0.7969 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/1.253, allocations: 177.2 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.253, allocations: 1.406 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/1.253, allocations: 12.91 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.253, allocations: 0 / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/1.253, allocations: 1.688 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.253, allocations: 0.9688 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.253, allocations: 0 / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/1.253, allocations: 172.5 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/1.253, allocations: 83.42 kB / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/1.253, allocations: 1.578 kB / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/1.253, allocations: 13.41 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/1.253, allocations: 2.953 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/1.253, allocations: 1.406 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.945e-05/1.253, allocations: 92.89 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.253, allocations: 0 / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002221/1.254, allocations: 9.75 kB / 1.088 GB, free: 13.67 MB / 0.8419 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.0001143/1.254, allocations: 107 kB / 1.088 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002348/1.254, allocations: 40.44 kB / 1.088 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.254, allocations: 0 / 1.088 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/1.254, allocations: 21.23 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/1.254, allocations: 6.281 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/1.255, allocations: 167.9 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/1.255, allocations: 0.6878 MB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/1.255, allocations: 13.56 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/1.255, allocations: 0 / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.002511/1.258, allocations: 0.713 MB / 1.089 GB, free: 12.65 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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