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.001245/0.001245, 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.001251/0.001251, allocations: 193.5 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002437/0.002437, allocations: 287 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 1.042/1.042, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 93.92 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1511, allocations: 89.14 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.00268/0.1538, allocations: 1.529 MB / 0.6951 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.1545, allocations: 442 kB / 0.6955 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.1546, allocations: 0 / 0.6955 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.1546, allocations: 3.938 kB / 0.6955 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.1547, allocations: 15.86 kB / 0.6955 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.1548, allocations: 21.77 kB / 0.6955 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.1549, allocations: 47.84 kB / 0.6956 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.155, allocations: 14.41 kB / 0.6956 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.1551, allocations: 23.91 kB / 0.6956 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.1552, allocations: 23.92 kB / 0.6956 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1552, allocations: 4 kB / 0.6956 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.1552, allocations: 4 kB / 0.6957 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.1552, allocations: 12.61 kB / 0.6957 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.1553, allocations: 19.88 kB / 0.6957 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.315e-05/0.1554, allocations: 45.8 kB / 0.6957 GB, free: 2.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1554, allocations: 3.938 kB / 0.6957 GB, free: 2.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1554, allocations: 4 kB / 0.6957 GB, free: 2.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1554, allocations: 0 / 0.6957 GB, free: 2.016 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.0005119/0.1559, allocations: 364 kB / 0.6961 GB, free: 1.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1559, allocations: 8.031 kB / 0.6961 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.156, allocations: 38.73 kB / 0.6961 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.156, allocations: 4.844 kB / 0.6961 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1562, allocations: 168.3 kB / 0.6963 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1562, allocations: 12.31 kB / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1562, allocations: 384 / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1564, allocations: 65.8 kB / 0.6964 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1564, allocations: 0 / 0.6964 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1564, allocations: 3.938 kB / 0.6964 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1564, allocations: 4 kB / 0.6964 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1566, allocations: 43.95 kB / 0.6964 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.1571, allocations: 296.7 kB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.1574, allocations: 66.48 kB / 0.6968 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.1575, allocations: 24.91 kB / 0.6968 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.1575, allocations: 0 / 0.6968 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1576, allocations: 30.56 kB / 0.6968 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1576, allocations: 4 kB / 0.6968 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000361/0.1579, allocations: 93.55 kB / 0.6969 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.158, allocations: 51.41 kB / 0.697 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.1581, allocations: 117.8 kB / 0.6971 GB, free: 460 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1581, allocations: 29.64 kB / 0.6971 GB, free: 424 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.1582, allocations: 96.12 kB / 0.6972 GB, free: 324 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.1582, allocations: 3.906 kB / 0.6972 GB, free: 320 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1582, allocations: 13.72 kB / 0.6972 GB, free: 300 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1584, allocations: 322.8 kB / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.1585, allocations: 23.98 kB / 0.6975 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.1585, allocations: 11.98 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1587, allocations: 44.83 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1587, allocations: 0 / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002085/0.1589, allocations: 69.91 kB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.159, allocations: 8 kB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.159, allocations: 4 kB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.159, allocations: 0 / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.1591, allocations: 11.92 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1591, allocations: 4 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.1591, allocations: 0 / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1592, allocations: 11.88 kB / 0.6977 GB, free: 15.77 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 7.779e-05/0.1592, allocations: 113.8 kB / 0.6978 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1593, allocations: 11.89 kB / 0.6978 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.1593, allocations: 11.91 kB / 0.6978 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1593, allocations: 4 kB / 0.6978 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1593, allocations: 0 / 0.6978 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1593, allocations: 0 / 0.6978 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.1595, allocations: 177.5 kB / 0.698 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1595, allocations: 0 / 0.698 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.1596, allocations: 11.94 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1596, allocations: 0 / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1596, allocations: 3.984 kB / 0.698 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1596, allocations: 0 / 0.698 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1596, allocations: 4 kB / 0.698 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1599, allocations: 171.3 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.16, allocations: 81.09 kB / 0.6983 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.16, allocations: 4 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.1601, allocations: 0 / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1601, allocations: 8 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1601, allocations: 7.984 kB / 0.6983 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.1602, allocations: 95.66 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1602, allocations: 0 / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.1604, allocations: 4 kB / 0.6984 GB, free: 14.98 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.0005352/0.1609, allocations: 0.7007 MB / 0.6991 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1612, allocations: 43.89 kB / 0.6991 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1612, allocations: 4 kB / 0.6991 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.1613, allocations: 15.98 kB / 0.6991 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.1615, allocations: 4.328 kB / 0.6991 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.163, allocations: 1.337 MB / 0.7004 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1633, allocations: 0.6923 MB / 0.7011 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.1634, allocations: 0 / 0.7011 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.1634, allocations: 23.38 kB / 0.7011 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1634, allocations: 4 kB / 0.7011 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.1853, allocations: 1.504 MB / 0.7026 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.48, allocations: 8.438 kB / 0.7026 GB, free: 10.62 MB / 0.4981 GB (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)