Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_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.0006955/0.0006958, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007301/0.0007302, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.18/1.18, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6023/0.6023, allocations: 113.7 MB / 405.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002509/0.000251, allocations: 8 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 77.1 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.001518/0.1181, allocations: 1.217 MB / 0.5581 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005707/0.1187, allocations: 403.4 kB / 0.5585 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.1188, allocations: 0 / 0.5585 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1188, allocations: 3.984 kB / 0.5585 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.1189, allocations: 11.92 kB / 0.5585 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.119, allocations: 17.84 kB / 0.5585 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.1191, allocations: 35.86 kB / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.1192, allocations: 23.92 kB / 0.5585 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.1193, allocations: 15.92 kB / 0.5586 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.1193, allocations: 23.84 kB / 0.5586 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1194, allocations: 4 kB / 0.5586 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.1194, allocations: 0 / 0.5586 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.1194, allocations: 4 kB / 0.5586 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.1194, allocations: 29.7 kB / 0.5586 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.952e-05/0.1195, allocations: 23.95 kB / 0.5586 GB, free: 9.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1195, allocations: 0 / 0.5586 GB, free: 9.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1195, allocations: 4 kB / 0.5586 GB, free: 9.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.1195, allocations: 3.938 kB / 0.5586 GB, free: 9.863 MB / 430.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.0004424/0.1199, allocations: 359.5 kB / 0.559 GB, free: 9.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.12, allocations: 8.031 kB / 0.559 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.12, allocations: 30.56 kB / 0.559 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.1201, allocations: 7.906 kB / 0.559 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1202, allocations: 179 kB / 0.5592 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1202, allocations: 3.938 kB / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1202, allocations: 4 kB / 0.5592 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1204, allocations: 69.61 kB / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1204, allocations: 0 / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1204, allocations: 4 kB / 0.5593 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1205, allocations: 4 kB / 0.5593 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1206, allocations: 51.91 kB / 0.5593 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.121, allocations: 288.8 kB / 0.5596 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1213, allocations: 82.45 kB / 0.5597 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.1214, allocations: 28.91 kB / 0.5597 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1214, allocations: 0 / 0.5597 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.1215, allocations: 38.56 kB / 0.5598 GB, free: 8.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1215, allocations: 0 / 0.5598 GB, free: 8.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003137/0.1218, allocations: 97.56 kB / 0.5598 GB, free: 8.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.1218, allocations: 55.41 kB / 0.5599 GB, free: 8.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.1219, allocations: 129.7 kB / 0.56 GB, free: 8.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1219, allocations: 25.7 kB / 0.5601 GB, free: 8.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.122, allocations: 88.14 kB / 0.5601 GB, free: 8.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.122, allocations: 15.75 kB / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.122, allocations: 0 / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1221, allocations: 318.8 kB / 0.5605 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.1222, allocations: 23.98 kB / 0.5605 GB, free: 7.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1224, allocations: 19.98 kB / 0.5605 GB, free: 7.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.1224, allocations: 23.94 kB / 0.5605 GB, free: 7.727 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1225, allocations: 0 / 0.5605 GB, free: 7.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000184/0.1226, allocations: 77.67 kB / 0.5606 GB, free: 7.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1227, allocations: 8 kB / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1227, allocations: 0 / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1227, allocations: 0 / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.1228, allocations: 11.98 kB / 0.5606 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1228, allocations: 0 / 0.5606 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1228, allocations: 4 kB / 0.5606 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1228, allocations: 11.98 kB / 0.5606 GB, free: 7.609 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/0.1229, allocations: 118.4 kB / 0.5607 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.123, allocations: 7.906 kB / 0.5607 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.123, allocations: 3.906 kB / 0.5608 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.123, allocations: 0 / 0.5608 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.123, allocations: 8 kB / 0.5608 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.123, allocations: 0 / 0.5608 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1232, allocations: 177.7 kB / 0.5609 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1232, allocations: 3.953 kB / 0.5609 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.1232, allocations: 15.98 kB / 0.5609 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1233, allocations: 3.938 kB / 0.561 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1233, allocations: 4 kB / 0.561 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1233, allocations: 0 / 0.561 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1233, allocations: 0 / 0.561 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1235, allocations: 175.4 kB / 0.5611 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.1235, allocations: 89.05 kB / 0.5612 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1236, allocations: 0 / 0.5612 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.1236, allocations: 7.938 kB / 0.5612 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1237, allocations: 8.359 kB / 0.5612 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1237, allocations: 7.938 kB / 0.5612 GB, free: 6.895 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.243e-05/0.1237, allocations: 92.25 kB / 0.5613 GB, free: 6.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1238, allocations: 4 kB / 0.5613 GB, free: 6.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.124, allocations: 11.94 kB / 0.5613 GB, free: 6.789 MB / 430.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 (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 0.0004548/0.1244, allocations: 0.713 MB / 0.562 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1246, allocations: 43.91 kB / 0.5621 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1246, allocations: 0 / 0.5621 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.1247, allocations: 27.98 kB / 0.5621 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.125, allocations: 10.19 kB / 0.5621 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.1258, allocations: 0.4971 MB / 0.5626 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.126, allocations: 0.6809 MB / 0.5633 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.1261, allocations: 8 kB / 0.5633 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.1261, allocations: 15.42 kB / 0.5633 GB, free: 4.695 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1261, allocations: 0 / 0.5633 GB, free: 4.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009934/0.136, allocations: 1.259 MB / 0.5645 GB, free: 3.586 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.1362, allocations: 181.1 kB / 0.5647 GB, free: 3.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/1.529, allocations: 4.062 kB / 0.5647 GB, free: 3.348 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) Environment - environmentSimulation: