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.0015/0.0015, allocations: 103.6 kB / 16.4 MB, free: 6.508 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.001725/0.001725, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7573/0.7573, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 66.06 kB / 0.5679 GB, free: 29.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.127, allocations: 77.93 MB / 0.644 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.002544/0.1296, allocations: 1.515 MB / 0.6455 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.1304, allocations: 444 kB / 0.6459 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.1304, allocations: 0 / 0.6459 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.1305, allocations: 3.938 kB / 0.6459 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.1306, allocations: 7.938 kB / 0.6459 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1308, allocations: 27.91 kB / 0.646 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.1309, allocations: 47.84 kB / 0.646 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.131, allocations: 19.98 kB / 0.646 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1311, allocations: 27.84 kB / 0.6461 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.1312, allocations: 19.92 kB / 0.6461 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1312, allocations: 8 kB / 0.6461 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.1312, allocations: 4 kB / 0.6461 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.1312, allocations: 7.938 kB / 0.6461 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.1313, allocations: 27.8 kB / 0.6461 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1314, allocations: 40.09 kB / 0.6462 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1314, allocations: 4 kB / 0.6462 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1314, allocations: 0 / 0.6462 GB, free: 7.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1314, allocations: 0 / 0.6462 GB, free: 7.48 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.0004988/0.1319, allocations: 367.3 kB / 0.6465 GB, free: 7.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.132, allocations: 8.625 kB / 0.6465 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.132, allocations: 34.75 kB / 0.6465 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1321, allocations: 8.891 kB / 0.6466 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1322, allocations: 176.2 kB / 0.6467 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1322, allocations: 384 / 0.6467 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1322, allocations: 8.312 kB / 0.6467 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1324, allocations: 69.78 kB / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1324, allocations: 0 / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1325, allocations: 0 / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1325, allocations: 8 kB / 0.6468 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.1327, allocations: 39.97 kB / 0.6468 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1331, allocations: 296.7 kB / 0.6471 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1335, allocations: 70.52 kB / 0.6472 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.1336, allocations: 24.91 kB / 0.6472 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.1336, allocations: 0 / 0.6472 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.1336, allocations: 30.56 kB / 0.6473 GB, free: 6.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1336, allocations: 0 / 0.6473 GB, free: 6.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003812/0.134, allocations: 89.59 kB / 0.6473 GB, free: 6.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.1341, allocations: 55.41 kB / 0.6474 GB, free: 6.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.1341, allocations: 121.8 kB / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1342, allocations: 25.7 kB / 0.6475 GB, free: 5.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.1342, allocations: 88.09 kB / 0.6476 GB, free: 5.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1342, allocations: 7.953 kB / 0.6476 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.1343, allocations: 21.7 kB / 0.6476 GB, free: 5.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.1344, allocations: 318.8 kB / 0.6479 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.1345, allocations: 15.98 kB / 0.648 GB, free: 5.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1346, allocations: 19.98 kB / 0.648 GB, free: 5.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1348, allocations: 44.77 kB / 0.648 GB, free: 5.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1348, allocations: 0 / 0.648 GB, free: 5.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002208/0.135, allocations: 69.62 kB / 0.6481 GB, free: 5.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.135, allocations: 4 kB / 0.6481 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.135, allocations: 0 / 0.6481 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1351, allocations: 11.94 kB / 0.6481 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.1352, allocations: 11.98 kB / 0.6481 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1352, allocations: 0 / 0.6481 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.1352, allocations: 11.92 kB / 0.6481 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1353, allocations: 3.938 kB / 0.6481 GB, free: 5.227 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.909e-05/0.1353, allocations: 113.8 kB / 0.6482 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.1354, allocations: 7.953 kB / 0.6482 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.1354, allocations: 7.906 kB / 0.6483 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1354, allocations: 4 kB / 0.6483 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1354, allocations: 0 / 0.6483 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1354, allocations: 3.984 kB / 0.6483 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1356, allocations: 177.5 kB / 0.6484 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1356, allocations: 0 / 0.6484 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.051e-05/0.1357, allocations: 11.98 kB / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1357, allocations: 0 / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1357, allocations: 0 / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1357, allocations: 0 / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1358, allocations: 0 / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.136, allocations: 175.8 kB / 0.6486 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.1361, allocations: 81.06 kB / 0.6487 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1361, allocations: 0 / 0.6487 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.1362, allocations: 4 kB / 0.6487 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.1362, allocations: 8.016 kB / 0.6487 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1362, allocations: 4 kB / 0.6487 GB, free: 4.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.232e-05/0.1363, allocations: 103.2 kB / 0.6488 GB, free: 4.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1363, allocations: 0 / 0.6488 GB, free: 4.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1366, allocations: 8 kB / 0.6488 GB, free: 4.43 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.0005266/0.1371, allocations: 0.6929 MB / 0.6495 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1373, allocations: 43.97 kB / 0.6495 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1373, allocations: 0 / 0.6495 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.956e-05/0.1374, allocations: 23.92 kB / 0.6496 GB, free: 3.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1377, allocations: 5.562 kB / 0.6496 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1392, allocations: 1.351 MB / 0.6509 GB, free: 2.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1395, allocations: 0.6814 MB / 0.6515 GB, free: 1.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.1395, allocations: 4.188 kB / 0.6515 GB, free: 1.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.1396, allocations: 23.36 kB / 0.6516 GB, free: 1.477 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1396, allocations: 3.938 kB / 0.6516 GB, free: 1.473 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.1561, allocations: 1.506 MB / 0.653 GB, free: 52 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.48, allocations: 14.39 kB / 0.6531 GB, free: 40 kB / 494.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 & 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)