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: "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001036/0.001036, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001952/0.001952, allocations: 290.7 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9033/0.9033, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 93.08 kB / 0.5948 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1428, allocations: 86.98 MB / 0.6797 GB, free: 1 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002528/0.1453, allocations: 1.583 MB / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005831/0.1459, allocations: 434 kB / 0.6817 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.146, allocations: 0 / 0.6817 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.146, allocations: 3.984 kB / 0.6817 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.1461, allocations: 10 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.1462, allocations: 19.92 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.1463, allocations: 39.86 kB / 0.6818 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1464, allocations: 30.58 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.1465, allocations: 15.94 kB / 0.6818 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.1466, allocations: 23.91 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1466, allocations: 4 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.1466, allocations: 4.625 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.1466, allocations: 7.938 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.1466, allocations: 28.56 kB / 0.6819 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.182e-05/0.1467, allocations: 39.83 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1467, allocations: 0.875 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1467, allocations: 4 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1467, allocations: 0.625 kB / 0.6819 GB, free: 14.77 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.0004513/0.1472, allocations: 364.6 kB / 0.6823 GB, free: 14.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1472, allocations: 8.031 kB / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.1473, allocations: 47.48 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.023e-05/0.1473, allocations: 4.875 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.1474, allocations: 172.3 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1474, allocations: 4.375 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1475, allocations: 4.312 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1476, allocations: 69.78 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1477, allocations: 0 / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1477, allocations: 4 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1477, allocations: 0 / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1479, allocations: 47.89 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1482, allocations: 296.7 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.1486, allocations: 66.47 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.1487, allocations: 28.91 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1487, allocations: 0 / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1487, allocations: 30.56 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.963e-06/0.1487, allocations: 7.984 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003266/0.149, allocations: 81.56 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.1491, allocations: 51.41 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.1492, allocations: 125.8 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1492, allocations: 29.7 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.1492, allocations: 88.14 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1493, allocations: 3.906 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.1493, allocations: 25.64 kB / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1494, allocations: 314.8 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.1495, allocations: 19.98 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.1496, allocations: 15.98 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1497, allocations: 44.83 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1497, allocations: 0 / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001908/0.1499, allocations: 65.58 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.15, allocations: 8 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.15, allocations: 0 / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.405e-06/0.15, allocations: 0 / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.1501, allocations: 11.92 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1501, allocations: 8 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.1501, allocations: 3.984 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1501, allocations: 11.94 kB / 0.6839 GB, free: 12.52 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 6.274e-05/0.1502, allocations: 119 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1502, allocations: 7.906 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.1503, allocations: 7.906 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1503, allocations: 7.938 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1503, allocations: 0 / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1503, allocations: 4 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.1505, allocations: 173.6 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1505, allocations: 0 / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.1505, allocations: 11.98 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1505, allocations: 0 / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1506, allocations: 0 / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1506, allocations: 4 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1506, allocations: 0 / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1508, allocations: 179.4 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.1509, allocations: 81.02 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1509, allocations: 4 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.151, allocations: 0 / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.151, allocations: 7.984 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.151, allocations: 0 / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.1511, allocations: 99.2 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1511, allocations: 0 / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.1513, allocations: 8 kB / 0.6846 GB, free: 11.72 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 0.00046/0.1517, allocations: 0.6971 MB / 0.6852 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.152, allocations: 43.94 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.152, allocations: 8 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.1521, allocations: 19.98 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1523, allocations: 0 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1537, allocations: 1.361 MB / 0.6866 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1539, allocations: 0.6846 MB / 0.6873 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.1539, allocations: 7.938 kB / 0.6873 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.154, allocations: 11.44 kB / 0.6873 GB, free: 8.754 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.154, allocations: 0 / 0.6873 GB, free: 8.754 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009701/0.1637, allocations: 1.385 MB / 0.6887 GB, free: 7.516 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.1639, allocations: 221 kB / 0.6889 GB, free: 7.262 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.16, allocations: 0 / 0.6889 GB, free: 7.262 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)