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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7933/0.7933, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 175.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 91.73 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 276 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.503e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3799, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.5163, allocations: 108.6 MB / 0.8634 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.5165, allocations: 83.81 kB / 0.8635 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004274/0.5208, allocations: 1.471 MB / 0.8649 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5209, allocations: 0 / 0.8649 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.5209, allocations: 4 kB / 0.8649 GB, free: 1.695 MB / 0.5261 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.0003828/0.5213, allocations: 350.5 kB / 0.8653 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5213, allocations: 8.031 kB / 0.8653 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.5213, allocations: 7.906 kB / 0.8653 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5215, allocations: 171 kB / 0.8654 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.5215, allocations: 3.953 kB / 0.8654 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.5215, allocations: 4 kB / 0.8654 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.141e-05/0.5216, allocations: 20 kB / 0.8655 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.5217, allocations: 49.69 kB / 0.8655 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.5218, allocations: 0 / 0.8655 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5218, allocations: 0 / 0.8655 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5218, allocations: 4 kB / 0.8655 GB, free: 1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.5223, allocations: 285.2 kB / 0.8658 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5225, allocations: 46.56 kB / 0.8658 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.5225, allocations: 16.92 kB / 0.8658 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.5225, allocations: 0 / 0.8658 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.5226, allocations: 30.56 kB / 0.8659 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/0.5226, allocations: 0 / 0.8659 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001608/0.5227, allocations: 53.62 kB / 0.8659 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.5228, allocations: 51.41 kB / 0.866 GB, free: 460 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.5229, allocations: 101 kB / 0.8661 GB, free: 352 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5229, allocations: 29.7 kB / 0.8661 GB, free: 316 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.5229, allocations: 88.12 kB / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.523, allocations: 19.75 kB / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.523, allocations: 0 / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5231, allocations: 318.8 kB / 0.8665 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.5231, allocations: 8.375 kB / 0.8665 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.5232, allocations: 8 kB / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.5232, allocations: 4 kB / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5232, allocations: 3.938 kB / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.976e-05/0.5233, allocations: 65.56 kB / 0.8666 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5233, allocations: 4 kB / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5233, allocations: 0 / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5234, allocations: 0 / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.5235, allocations: 11.98 kB / 0.8666 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5235, allocations: 0 / 0.8666 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.5235, allocations: 8 kB / 0.8666 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.5236, allocations: 3.984 kB / 0.8666 GB, free: 15.76 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.5236, allocations: 109.8 kB / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.5237, allocations: 7.906 kB / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.5237, allocations: 4.344 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5237, allocations: 192 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5237, allocations: 0 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5237, allocations: 3.984 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.5239, allocations: 154.2 kB / 0.8669 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5239, allocations: 0 / 0.8669 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/0.524, allocations: 15.98 kB / 0.8669 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.524, allocations: 4 kB / 0.8669 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.524, allocations: 0 / 0.8669 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.524, allocations: 0 / 0.8669 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.524, allocations: 0 / 0.8669 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.5242, allocations: 147.5 kB / 0.8671 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.5242, allocations: 88.95 kB / 0.8671 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.5242, allocations: 4 kB / 0.8671 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.5243, allocations: 8 kB / 0.8671 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.5244, allocations: 0 / 0.8671 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.5244, allocations: 3.984 kB / 0.8672 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.5244, allocations: 87.28 kB / 0.8672 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5244, allocations: 0 / 0.8672 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002361/0.5247, allocations: 4 kB / 0.8672 GB, free: 15.04 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.094e-05/0.5248, allocations: 96.66 kB / 0.8673 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.14e-05/0.5249, allocations: 27.92 kB / 0.8674 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.5249, allocations: 4 kB / 0.8674 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.5249, allocations: 12.28 kB / 0.8674 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.5251, allocations: 7.875 kB / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.5253, allocations: 87.81 kB / 0.8675 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.5256, allocations: 0.6846 MB / 0.8681 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.5256, allocations: 4 kB / 0.8681 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.5257, allocations: 11.44 kB / 0.8681 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5257, allocations: 0 / 0.8681 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of Templates: time 0.002027/0.5277, allocations: 355.4 kB / 0.8685 GB, free: 13.71 MB / 0.5417 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)