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.001288/0.001288, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001222/0.001222, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8251/0.8251, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 73.11 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.131, allocations: 78.86 MB / 0.6505 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.002721/0.1337, allocations: 1.519 MB / 0.652 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.1345, allocations: 448.7 kB / 0.6524 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.1346, allocations: 0 / 0.6524 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.1346, allocations: 3.938 kB / 0.6524 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.1347, allocations: 7.938 kB / 0.6524 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1349, allocations: 23.91 kB / 0.6525 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.977e-05/0.135, allocations: 51.84 kB / 0.6525 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.1351, allocations: 15.98 kB / 0.6525 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1352, allocations: 23.86 kB / 0.6525 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.1352, allocations: 23.92 kB / 0.6526 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1353, allocations: 4 kB / 0.6526 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.1353, allocations: 4 kB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.1353, allocations: 15.92 kB / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.1354, allocations: 19.86 kB / 0.6526 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.1355, allocations: 40.11 kB / 0.6527 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1355, allocations: 0 / 0.6527 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1355, allocations: 0 / 0.6527 GB, free: 1.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1355, allocations: 0 / 0.6527 GB, free: 1.438 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.0005286/0.136, allocations: 367.3 kB / 0.653 GB, free: 1.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1361, allocations: 8.031 kB / 0.653 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.1361, allocations: 34.75 kB / 0.653 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.1361, allocations: 12.83 kB / 0.6531 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1363, allocations: 172.3 kB / 0.6532 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1363, allocations: 8.25 kB / 0.6532 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1363, allocations: 8.375 kB / 0.6532 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1365, allocations: 65.78 kB / 0.6533 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1366, allocations: 0 / 0.6533 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.1366, allocations: 4 kB / 0.6533 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1366, allocations: 4 kB / 0.6533 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.1368, allocations: 39.97 kB / 0.6533 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.1372, allocations: 292.7 kB / 0.6536 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.1376, allocations: 66.53 kB / 0.6537 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1377, allocations: 24.91 kB / 0.6537 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1377, allocations: 0 / 0.6537 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1378, allocations: 30.56 kB / 0.6537 GB, free: 156 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1378, allocations: 0 / 0.6537 GB, free: 156 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003988/0.1382, allocations: 97.55 kB / 0.6538 GB, free: 52 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.1383, allocations: 51.41 kB / 0.6539 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1384, allocations: 121.8 kB / 0.654 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1384, allocations: 25.7 kB / 0.654 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.1385, allocations: 84.14 kB / 0.6541 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1385, allocations: 15.91 kB / 0.6541 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1385, allocations: 17.7 kB / 0.6541 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1387, allocations: 318.8 kB / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1388, allocations: 19.98 kB / 0.6545 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.1389, allocations: 15.98 kB / 0.6545 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1391, allocations: 45.09 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1391, allocations: 0 / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002281/0.1393, allocations: 69.61 kB / 0.6546 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1393, allocations: 4 kB / 0.6546 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1393, allocations: 7.984 kB / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1394, allocations: 0 / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.1395, allocations: 8 kB / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1395, allocations: 0 / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.1395, allocations: 15.88 kB / 0.6546 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1395, allocations: 7.875 kB / 0.6546 GB, free: 15.18 MB / 0.4981 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 () * 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 8.957e-05/0.1396, allocations: 113.8 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1397, allocations: 4 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.1397, allocations: 7.906 kB / 0.6547 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1397, allocations: 3.938 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1397, allocations: 3.984 kB / 0.6548 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1397, allocations: 4 kB / 0.6548 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.1399, allocations: 181.6 kB / 0.6549 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.14, allocations: 0 / 0.6549 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.14, allocations: 15.98 kB / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1401, allocations: 0 / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1401, allocations: 3.938 kB / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1401, allocations: 0 / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1401, allocations: 0 / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1404, allocations: 171.5 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.1404, allocations: 81.06 kB / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1404, allocations: 0 / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.1405, allocations: 7.984 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.1406, allocations: 0 / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1406, allocations: 4 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.398e-05/0.1407, allocations: 107.6 kB / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 0 / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002285/0.1409, allocations: 8 kB / 0.6553 GB, free: 14.38 MB / 0.4981 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 () * 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.0006034/0.1415, allocations: 0.6968 MB / 0.656 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1418, allocations: 39.97 kB / 0.656 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1418, allocations: 0 / 0.656 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1419, allocations: 23.92 kB / 0.6561 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.1422, allocations: 9.875 kB / 0.6561 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1439, allocations: 1.347 MB / 0.6574 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1442, allocations: 0.6846 MB / 0.658 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.1443, allocations: 15.91 kB / 0.6581 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.1443, allocations: 11.44 kB / 0.6581 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1443, allocations: 0 / 0.6581 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.1667, allocations: 1.518 MB / 0.6596 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.013, allocations: 3 kB / 0.6596 GB, free: 9.996 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)