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.001156/0.001156, 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.001184/0.001184, allocations: 192.8 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 274.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8803/0.8803, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 89.59 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.131, allocations: 86.98 MB / 0.6795 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002286/0.1333, allocations: 1.572 MB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000517/0.1338, allocations: 445.2 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1339, allocations: 0 / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.1339, allocations: 0.875 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.134, allocations: 11.91 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.1341, allocations: 16.66 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.692e-05/0.1342, allocations: 44.47 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.1343, allocations: 17.67 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.1344, allocations: 24.56 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.1344, allocations: 27.86 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1344, allocations: 0 / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.1344, allocations: 4 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.1345, allocations: 11.98 kB / 0.6816 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.1345, allocations: 15.88 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.925e-05/0.1346, allocations: 51.73 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1346, allocations: 3.938 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1346, allocations: 0 / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.1346, allocations: 0 / 0.6817 GB, free: 14.83 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.0004078/0.135, allocations: 363.3 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.135, allocations: 12.03 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.1351, allocations: 30.75 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.1351, allocations: 8.922 kB / 0.6821 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/0.1352, allocations: 172.3 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1352, allocations: 4.375 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1352, allocations: 4.375 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1354, allocations: 61.8 kB / 0.6823 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1354, allocations: 0 / 0.6823 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.1354, allocations: 7.938 kB / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1354, allocations: 0 / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1356, allocations: 43.97 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.136, allocations: 300.6 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1362, allocations: 66.48 kB / 0.6827 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.1363, allocations: 20.91 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1364, allocations: 4 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.1364, allocations: 30.56 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1364, allocations: 0 / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003104/0.1367, allocations: 93.55 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.1367, allocations: 55.41 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.1368, allocations: 117.8 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1368, allocations: 29.64 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.1369, allocations: 92.12 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.1369, allocations: 7.906 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1369, allocations: 13.66 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.137, allocations: 330.8 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.1371, allocations: 23.92 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.1372, allocations: 19.98 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1373, allocations: 32.83 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1373, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000177/0.1375, allocations: 73.58 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/0.1375, allocations: 8 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.1375, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1375, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.1376, allocations: 15.92 kB / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1376, allocations: 0 / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1377, allocations: 4 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1377, allocations: 7.938 kB / 0.6837 GB, free: 12.59 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.233e-05/0.1378, allocations: 123.1 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1378, allocations: 3.906 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.1378, allocations: 15.91 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1378, allocations: 336 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1378, allocations: 0 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1378, allocations: 0 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.138, allocations: 177.6 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.138, allocations: 0 / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.1381, allocations: 7.984 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1381, allocations: 4 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1381, allocations: 3.984 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1381, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1381, allocations: 4 kB / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1383, allocations: 163.4 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.1383, allocations: 89 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1384, allocations: 0 / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1384, allocations: 8 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.1385, allocations: 0 / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1385, allocations: 7.984 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.684e-05/0.1385, allocations: 99.59 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1385, allocations: 0 / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001997/0.1387, allocations: 8 kB / 0.6844 GB, free: 11.79 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.0004063/0.1392, allocations: 0.6968 MB / 0.685 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.1393, allocations: 47.89 kB / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1393, allocations: 0 / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.114e-05/0.1394, allocations: 15.98 kB / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.1397, allocations: 15.88 kB / 0.6851 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1409, allocations: 1.349 MB / 0.6864 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1411, allocations: 0.6848 MB / 0.6871 GB, free: 8.844 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.1411, allocations: 3.984 kB / 0.6871 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.1412, allocations: 19.77 kB / 0.6871 GB, free: 8.82 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1412, allocations: 4 kB / 0.6871 GB, free: 8.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2226/0.3638, allocations: 1.348 MB / 0.6884 GB, free: 7.598 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.364, allocations: 223.5 kB / 0.6887 GB, free: 7.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.953, allocations: 0 / 0.6887 GB, free: 7.34 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)