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.0008917/0.0008916, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009285/0.0009286, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 270.9 kB / 291.2 MB, free: 1.938 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7751/0.7751, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 19.52 kB / 0.5684 GB, free: 38.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 83.08 MB / 0.6495 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.001529/0.1444, allocations: 1.23 MB / 0.6507 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005423/0.145, allocations: 406.5 kB / 0.6511 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.145, allocations: 0 / 0.6511 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.1451, allocations: 3.938 kB / 0.6511 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.1451, allocations: 4.719 kB / 0.6511 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.1453, allocations: 19.97 kB / 0.6511 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.1454, allocations: 27.41 kB / 0.6512 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.1454, allocations: 15.92 kB / 0.6512 GB, free: 1.977 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.1455, allocations: 19.97 kB / 0.6512 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.1456, allocations: 15.86 kB / 0.6512 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.1456, allocations: 7.938 kB / 0.6512 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.1456, allocations: 0 / 0.6512 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.1457, allocations: 8.5 kB / 0.6512 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.1457, allocations: 30.3 kB / 0.6513 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.338e-05/0.1458, allocations: 23.95 kB / 0.6513 GB, free: 1.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1458, allocations: 0.5625 kB / 0.6513 GB, free: 1.867 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1458, allocations: 6.344 kB / 0.6513 GB, free: 1.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1458, allocations: 0 / 0.6513 GB, free: 1.863 MB / 446.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.000428/0.1462, allocations: 367.4 kB / 0.6516 GB, free: 1.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1463, allocations: 8.531 kB / 0.6516 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1463, allocations: 35.31 kB / 0.6517 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.1463, allocations: 4 kB / 0.6517 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1464, allocations: 172.1 kB / 0.6518 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1465, allocations: 3.953 kB / 0.6519 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1465, allocations: 4 kB / 0.6519 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1467, allocations: 70.84 kB / 0.6519 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1467, allocations: 0.6875 kB / 0.6519 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1467, allocations: 4 kB / 0.6519 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1467, allocations: 5 kB / 0.6519 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.1469, allocations: 49.48 kB / 0.652 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1473, allocations: 294.8 kB / 0.6523 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.1476, allocations: 77.41 kB / 0.6523 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1476, allocations: 4.781 kB / 0.6523 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.1476, allocations: 31.44 kB / 0.6524 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1477, allocations: 0 / 0.6524 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004879/0.1481, allocations: 92.91 kB / 0.6525 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1482, allocations: 55.34 kB / 0.6525 GB, free: 448 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1483, allocations: 123.2 kB / 0.6526 GB, free: 316 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1483, allocations: 29.7 kB / 0.6527 GB, free: 280 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1484, allocations: 88.14 kB / 0.6527 GB, free: 188 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1484, allocations: 18.38 kB / 0.6528 GB, free: 172 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.1484, allocations: 0 / 0.6528 GB, free: 172 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1486, allocations: 330.7 kB / 0.6531 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1487, allocations: 19.98 kB / 0.6531 GB, free: 15.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1488, allocations: 22.3 kB / 0.6531 GB, free: 15.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1489, allocations: 19.98 kB / 0.6531 GB, free: 15.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.149, allocations: 1.375 kB / 0.6531 GB, free: 15.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002749/0.1492, allocations: 76.95 kB / 0.6532 GB, free: 15.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1493, allocations: 4 kB / 0.6532 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1493, allocations: 0 / 0.6532 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1493, allocations: 0 / 0.6532 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1494, allocations: 15.92 kB / 0.6532 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1494, allocations: 0 / 0.6532 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.1495, allocations: 20.67 kB / 0.6532 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1495, allocations: 5.5 kB / 0.6533 GB, free: 15.66 MB / 462.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 8.264e-05/0.1496, allocations: 117.8 kB / 0.6534 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.1497, allocations: 0 / 0.6534 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.1497, allocations: 12.56 kB / 0.6534 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1497, allocations: 1.062 kB / 0.6534 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1497, allocations: 0 / 0.6534 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1497, allocations: 0 / 0.6534 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.1499, allocations: 181.6 kB / 0.6536 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.15, allocations: 0 / 0.6536 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.15, allocations: 11.98 kB / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.15, allocations: 0 / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1501, allocations: 0 / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1501, allocations: 0 / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1501, allocations: 0 / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1503, allocations: 187.3 kB / 0.6537 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.1504, allocations: 81.02 kB / 0.6538 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1504, allocations: 4.375 kB / 0.6538 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.1505, allocations: 4 kB / 0.6538 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.1505, allocations: 7.984 kB / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1505, allocations: 0 / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.073e-05/0.1506, allocations: 99.27 kB / 0.6539 GB, free: 14.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1506, allocations: 3.938 kB / 0.6539 GB, free: 14.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1508, allocations: 4 kB / 0.6539 GB, free: 14.86 MB / 462.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.0004402/0.1513, allocations: 0.7085 MB / 0.6546 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1515, allocations: 51.91 kB / 0.6547 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1515, allocations: 0 / 0.6547 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.1516, allocations: 23.98 kB / 0.6547 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.1518, allocations: 9.562 kB / 0.6547 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.1526, allocations: 0.5002 MB / 0.6552 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.1528, allocations: 0.6848 MB / 0.6559 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.1528, allocations: 8 kB / 0.6559 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1529, allocations: 11.44 kB / 0.6559 GB, free: 12.76 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1529, allocations: 0 / 0.6559 GB, free: 12.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8282/0.9811, allocations: 1.256 MB / 0.6571 GB, free: 11.66 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.9813, allocations: 197.8 kB / 0.6573 GB, free: 11.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/4.006, allocations: 4.062 kB / 0.6573 GB, free: 11.42 MB / 462.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/linux/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) Environment - environmentSimulation: