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.001234/0.001234, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.00121/0.00121, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.653/2.653, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 64.08 kB / 1.07 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.142, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003405/1.145, allocations: 1.519 MB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008856/1.146, allocations: 446.9 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/1.146, allocations: 0 / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/1.146, allocations: 3.938 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/1.146, allocations: 3.938 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/1.146, allocations: 31.91 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/1.147, allocations: 39.86 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/1.147, allocations: 23.97 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/1.147, allocations: 27.86 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/1.147, allocations: 15.92 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/1.147, allocations: 4 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/1.147, allocations: 4 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/1.147, allocations: 11.94 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/1.147, allocations: 27.84 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/1.147, allocations: 32.88 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.147, allocations: 0 / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.667e-06/1.147, allocations: 0 / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.147, allocations: 7.938 kB / 1.228 GB, free: 11.3 MB / 0.9512 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.0006351/1.148, allocations: 373 kB / 1.229 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/1.148, allocations: 8.031 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/1.148, allocations: 8.891 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/1.148, allocations: 172.3 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/1.148, allocations: 4.312 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/1.148, allocations: 4.375 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/1.148, allocations: 77.95 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.149, allocations: 0 / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.149, allocations: 0 / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.149, allocations: 0 / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/1.149, allocations: 39.97 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/1.149, allocations: 300.7 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/1.15, allocations: 66.53 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/1.15, allocations: 20.91 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/1.15, allocations: 4 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/1.15, allocations: 34.56 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/1.15, allocations: 0 / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003722/1.15, allocations: 93.55 kB / 1.23 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/1.15, allocations: 51.41 kB / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/1.15, allocations: 121.8 kB / 1.23 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/1.15, allocations: 29.7 kB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/1.15, allocations: 84.14 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/1.15, allocations: 3.953 kB / 1.23 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/1.15, allocations: 21.7 kB / 1.23 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.151, allocations: 326.8 kB / 1.23 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/1.151, allocations: 11.98 kB / 1.23 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/1.151, allocations: 15.98 kB / 1.23 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/1.151, allocations: 40.83 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.151, allocations: 0 / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002021/1.151, allocations: 77.56 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.151, allocations: 5.25 kB / 1.23 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.151, allocations: 4.266 kB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.151, allocations: 0 / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/1.151, allocations: 15.98 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.151, allocations: 3.984 kB / 1.23 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.377e-05/1.151, allocations: 7.984 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.151, allocations: 0 / 1.23 GB, free: 9.102 MB / 0.9512 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.856e-05/1.151, allocations: 118.3 kB / 1.23 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/1.151, allocations: 7.938 kB / 1.23 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/1.152, allocations: 11.91 kB / 1.231 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.152, allocations: 0 / 1.231 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.152, allocations: 0 / 1.231 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/1.152, allocations: 85.05 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/1.152, allocations: 7.938 kB / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/1.152, allocations: 0 / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/1.152, allocations: 8 kB / 1.231 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002583/1.152, allocations: 156.8 kB / 1.231 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002711/1.152, allocations: 236 kB / 1.231 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.769e-05/1.152, allocations: 19.98 kB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.104e-05/1.152, allocations: 103.6 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of Backend: time 3.51e-07/1.152, allocations: 0 / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004152/1.153, allocations: 102.3 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009074/1.154, allocations: 0.6041 MB / 1.232 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of Templates: time 0.004262/1.158, allocations: 0.6019 MB / 1.232 GB, free: 6.949 MB / 0.9512 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=480 -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) Reference file matches