Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001253/0.001253, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001252/0.001253, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.239/1.239, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 291.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.894/0.894, allocations: 169.3 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 95.84 kB / 0.6821 GB, free: 7.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3585, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002442/0.3609, allocations: 1.532 MB / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.3616, allocations: 440.7 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.3617, allocations: 0 / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.3617, allocations: 7.922 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.3618, allocations: 7.938 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.362, allocations: 27.91 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.3621, allocations: 39.91 kB / 0.769 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.3622, allocations: 12 kB / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3623, allocations: 27.86 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.3624, allocations: 31.83 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3624, allocations: 8 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.3624, allocations: 4 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.3624, allocations: 8 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.3625, allocations: 23.86 kB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.778e-05/0.3625, allocations: 43.47 kB / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3626, allocations: 0 / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3626, allocations: 0 / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3626, allocations: 0 / 0.7692 GB, free: 1.75 MB / 0.5294 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.0004641/0.363, allocations: 361.9 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3631, allocations: 12.03 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.3631, allocations: 8.844 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.3632, allocations: 168.3 kB / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3633, allocations: 4.375 kB / 0.7697 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3633, allocations: 8.359 kB / 0.7697 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3635, allocations: 65.92 kB / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3635, allocations: 0 / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3635, allocations: 4 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3635, allocations: 0 / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.3637, allocations: 43.97 kB / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.3641, allocations: 300.7 kB / 0.7701 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.3644, allocations: 58.55 kB / 0.7702 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.3645, allocations: 24.91 kB / 0.7702 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3645, allocations: 7.938 kB / 0.7702 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3646, allocations: 30.56 kB / 0.7702 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3646, allocations: 3.938 kB / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003488/0.3649, allocations: 89.48 kB / 0.7703 GB, free: 428 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.365, allocations: 51.41 kB / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.365, allocations: 122.2 kB / 0.7705 GB, free: 232 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3651, allocations: 29.7 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.3651, allocations: 92.2 kB / 0.7706 GB, free: 100 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.3651, allocations: 11.83 kB / 0.7706 GB, free: 88 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.3652, allocations: 17.72 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.3653, allocations: 322.8 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.3654, allocations: 15.98 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.3654, allocations: 19.98 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3656, allocations: 36.84 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3656, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002054/0.3658, allocations: 77.5 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3658, allocations: 4 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3659, allocations: 0 / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3659, allocations: 0 / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.366, allocations: 19.98 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.366, allocations: 0 / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.366, allocations: 4 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3661, allocations: 4 kB / 0.7711 GB, free: 15.55 MB / 0.545 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 7.033e-05/0.3661, allocations: 116.2 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3662, allocations: 7.891 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3662, allocations: 11.91 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3662, allocations: 0 / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3662, allocations: 0 / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.3662, allocations: 81.44 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3663, allocations: 3.938 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.3664, allocations: 7.984 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.3664, allocations: 4 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002576/0.3667, allocations: 152.9 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002545/0.3669, allocations: 250.6 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.966e-05/0.367, allocations: 19.98 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.3671, allocations: 103.2 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of Backend: time 2.7e-07/0.3671, allocations: 0 / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.3674, allocations: 98.33 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004449/0.3679, allocations: 0.5856 MB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Templates: time 0.002586/0.3705, allocations: 0.6003 MB / 0.7731 GB, free: 13.42 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)