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.001382/0.001382, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001019/0.001019, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 283.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9451/0.9451, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 88.11 kB / 0.5945 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1393, allocations: 86.99 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002434/0.1418, allocations: 1.581 MB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006013/0.1424, allocations: 434 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.1425, allocations: 7.938 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.1425, allocations: 0 / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.1426, allocations: 3.938 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.1427, allocations: 19.98 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.1428, allocations: 43.84 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1429, allocations: 22.47 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.143, allocations: 19.92 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.143, allocations: 23.86 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1431, allocations: 0.875 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.1431, allocations: 4 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.1431, allocations: 13.09 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.1432, allocations: 15.88 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.451e-05/0.1432, allocations: 48.05 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1432, allocations: 0.9375 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1432, allocations: 0 / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1433, allocations: 0 / 0.6816 GB, free: 14.97 MB / 494.1 MB 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.0004478/0.1437, allocations: 365.8 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1438, allocations: 12.03 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.1438, allocations: 0.9375 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.1439, allocations: 172.2 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1439, allocations: 4.359 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1439, allocations: 4.375 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1441, allocations: 73.95 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1441, allocations: 4 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1442, allocations: 4 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1442, allocations: 0 / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1443, allocations: 39.97 kB / 0.6822 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1447, allocations: 296.6 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.1451, allocations: 66.53 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.1452, allocations: 24.91 kB / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1452, allocations: 0 / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1452, allocations: 30.56 kB / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1452, allocations: 3.938 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003336/0.1455, allocations: 89.56 kB / 0.6827 GB, free: 13.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1456, allocations: 55.41 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.1457, allocations: 125.8 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1457, allocations: 25.7 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.1458, allocations: 88.14 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1458, allocations: 3.906 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.1458, allocations: 21.7 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1459, allocations: 322.8 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.146, allocations: 15.98 kB / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.1461, allocations: 15.98 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1463, allocations: 48.7 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1463, allocations: 0 / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000199/0.1465, allocations: 65.58 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1465, allocations: 8 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1465, allocations: 8 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1465, allocations: 3.984 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.1466, allocations: 8 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1466, allocations: 4 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.1467, allocations: 3.984 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1467, allocations: 4 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB 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.478e-05/0.1468, allocations: 111.1 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.1468, allocations: 11.91 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.1469, allocations: 7.906 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1469, allocations: 0 / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1469, allocations: 7.938 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1469, allocations: 3.984 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.147, allocations: 173.6 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1471, allocations: 0 / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.1471, allocations: 12.31 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1471, allocations: 0 / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1472, allocations: 0 / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1472, allocations: 0 / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1472, allocations: 4 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1474, allocations: 179.4 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.1475, allocations: 81.02 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1475, allocations: 4 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1476, allocations: 0 / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.1476, allocations: 7.984 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.1476, allocations: 4 kB / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.1477, allocations: 95.27 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1477, allocations: 7.938 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1479, allocations: 7.938 kB / 0.6842 GB, free: 11.97 MB / 494.1 MB 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 7.702e-05/0.148, allocations: 95.25 kB / 0.6843 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1482, allocations: 43.91 kB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1482, allocations: 7.938 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.1483, allocations: 15.98 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1486, allocations: 11.97 kB / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.1489, allocations: 156.4 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1492, allocations: 0.6848 MB / 0.6852 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.1492, allocations: 4 kB / 0.6852 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.1492, allocations: 7.438 kB / 0.6852 GB, free: 10.89 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1492, allocations: 0 / 0.6852 GB, free: 10.89 MB / 494.1 MB Notification: Performance of Templates: time 0.002215/0.1515, allocations: 441.7 kB / 0.6856 GB, free: 10.46 MB / 494.1 MB 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)