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.001029/0.00103, allocations: 110.7 kB / 16.42 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.001109/0.001109, 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.234/1.234, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 283.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9044/0.9044, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 99.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3627, allocations: 86.96 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002313/0.365, allocations: 1.528 MB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005884/0.3656, allocations: 444.7 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.3657, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.3657, allocations: 11.92 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.3658, allocations: 11.92 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.366, allocations: 15.92 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.595e-05/0.3661, allocations: 43.91 kB / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.3662, allocations: 12 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3663, allocations: 31.84 kB / 0.7691 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.3663, allocations: 31.84 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3663, allocations: 8 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.3664, allocations: 4 kB / 0.7691 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.3664, allocations: 4 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.3664, allocations: 19.86 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.461e-05/0.3665, allocations: 51.47 kB / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3665, allocations: 0 / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3665, allocations: 0 / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3665, allocations: 0 / 0.7692 GB, free: 1.727 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.0004675/0.367, allocations: 357.9 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.367, allocations: 8.031 kB / 0.7695 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.3671, allocations: 8.844 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3672, allocations: 180.2 kB / 0.7697 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3672, allocations: 384 / 0.7697 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3672, allocations: 4.375 kB / 0.7697 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3674, allocations: 61.98 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.3674, allocations: 0 / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3674, allocations: 8 kB / 0.7698 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3675, allocations: 3.938 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.3676, allocations: 43.97 kB / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.368, allocations: 296.6 kB / 0.7701 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.3684, allocations: 62.53 kB / 0.7702 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.3685, allocations: 28.91 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3685, allocations: 0 / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3685, allocations: 38.5 kB / 0.7702 GB, free: 500 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3685, allocations: 0 / 0.7702 GB, free: 500 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003545/0.3689, allocations: 93.48 kB / 0.7703 GB, free: 400 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.3689, allocations: 55.41 kB / 0.7704 GB, free: 332 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.369, allocations: 118.2 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.369, allocations: 25.7 kB / 0.7705 GB, free: 172 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.369, allocations: 92.12 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.3691, allocations: 11.84 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.3691, allocations: 17.72 kB / 0.7706 GB, free: 40 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3692, allocations: 318.8 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.3693, allocations: 15.98 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.3694, allocations: 23.98 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3696, allocations: 32.84 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3696, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001977/0.3698, allocations: 77.5 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3698, allocations: 4 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3698, allocations: 0 / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3698, allocations: 8 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.3699, allocations: 11.98 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3699, allocations: 0 / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.37, allocations: 4 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.37, allocations: 0 / 0.7711 GB, free: 15.54 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.044e-05/0.3701, allocations: 124.2 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.3701, allocations: 7.906 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.3701, allocations: 7.906 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3701, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3701, allocations: 4 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.3702, allocations: 81.11 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3702, allocations: 3.938 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.3703, allocations: 7.984 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.3703, allocations: 0 / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002513/0.3706, allocations: 148.9 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002588/0.3708, allocations: 251.1 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.428e-05/0.3709, allocations: 23.95 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.371, allocations: 107.2 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Backend: time 3.6e-07/0.371, allocations: 0 / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.3714, allocations: 103.4 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of SimCode: time 0.000458/0.3719, allocations: 0.5856 MB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of Templates: time 0.002431/0.3743, allocations: 0.6011 MB / 0.7731 GB, free: 13.4 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)