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.001626/0.001626, allocations: 108 kB / 15.61 MB, free: 152 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.001966/0.001966, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 294.4 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.905/0.905, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 101 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1426, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002517/0.1452, allocations: 1.516 MB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006071/0.1458, allocations: 441.3 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.1458, allocations: 0 / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.1459, allocations: 3.938 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.1459, allocations: 12.45 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.1461, allocations: 20.69 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.1462, allocations: 48.42 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.1463, allocations: 18.23 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1464, allocations: 31.91 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.1465, allocations: 23.91 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1465, allocations: 4 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1465, allocations: 4 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.1465, allocations: 11.94 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.1466, allocations: 23.86 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.596e-05/0.1466, allocations: 39.81 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1466, allocations: 0 / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1467, allocations: 0 / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1467, allocations: 0 / 0.6824 GB, free: 14.4 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.00046/0.1471, allocations: 367.3 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1472, allocations: 8.031 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.1472, allocations: 34.73 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.1472, allocations: 4.938 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1473, allocations: 176.2 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1474, allocations: 384 / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1474, allocations: 8.312 kB / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1476, allocations: 61.8 kB / 0.683 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1476, allocations: 3.938 kB / 0.683 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1476, allocations: 8 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1476, allocations: 7.984 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1478, allocations: 35.97 kB / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1482, allocations: 300.6 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.1485, allocations: 62.55 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.1486, allocations: 24.91 kB / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1487, allocations: 3.984 kB / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1487, allocations: 42.48 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1487, allocations: 0 / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003518/0.1491, allocations: 89.56 kB / 0.6836 GB, free: 13.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.1491, allocations: 51.41 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.1492, allocations: 117.8 kB / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1492, allocations: 25.7 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.1492, allocations: 92.12 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1493, allocations: 7.906 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1493, allocations: 13.72 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1494, allocations: 326.8 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.895e-05/0.1495, allocations: 15.98 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.1496, allocations: 19.98 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1498, allocations: 40.77 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1498, allocations: 0 / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002012/0.15, allocations: 69.58 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.15, allocations: 8 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.15, allocations: 0 / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.15, allocations: 0 / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.1501, allocations: 15.98 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1501, allocations: 0 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.1502, allocations: 4 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1502, allocations: 7.922 kB / 0.6844 GB, free: 12.15 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.027e-05/0.1503, allocations: 123 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1503, allocations: 11.91 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.1504, allocations: 11.84 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1504, allocations: 0 / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1504, allocations: 0 / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1504, allocations: 0 / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1505, allocations: 177.6 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1506, allocations: 0 / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.1506, allocations: 11.98 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1506, allocations: 0 / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1506, allocations: 0 / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1507, allocations: 0 / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1507, allocations: 7.938 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1509, allocations: 163.5 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.151, allocations: 85 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.151, allocations: 4 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.1511, allocations: 4 kB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1511, allocations: 3.984 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1511, allocations: 8.375 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.1512, allocations: 99.14 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1512, allocations: 0 / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.1514, allocations: 8 kB / 0.6851 GB, free: 11.35 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.0004872/0.1519, allocations: 0.7007 MB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1521, allocations: 43.91 kB / 0.6858 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1521, allocations: 0 / 0.6858 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/0.1522, allocations: 19.98 kB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1525, allocations: 4 kB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.154, allocations: 1.341 MB / 0.6871 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1543, allocations: 0.6846 MB / 0.6878 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.447e-05/0.1543, allocations: 7.938 kB / 0.6878 GB, free: 8.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.1544, allocations: 19.38 kB / 0.6878 GB, free: 8.402 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1544, allocations: 4 kB / 0.6878 GB, free: 8.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.1709, allocations: 1.498 MB / 0.6893 GB, free: 7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/6.979, allocations: 11.09 kB / 0.6893 GB, free: 6.996 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)