Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 100.2 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.001267/0.001267, 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.51/1.51, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.776/2.776, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005842/0.0005845, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8687/0.8693, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001045/0.8704, allocations: 0.52 MB / 1.021 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.8705, allocations: 43.8 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.8706, allocations: 0 / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.8706, allocations: 7.922 kB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.8707, allocations: 11.94 kB / 1.021 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.842e-05/0.8707, allocations: 8 kB / 1.021 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.8708, allocations: 39.94 kB / 1.021 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.871, allocations: 36.14 kB / 1.021 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.871, allocations: 15.86 kB / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.8711, allocations: 15.88 kB / 1.021 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.8711, allocations: 8 kB / 1.021 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.8711, allocations: 0 / 1.021 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.8712, allocations: 19.91 kB / 1.022 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.8712, allocations: 37.64 kB / 1.022 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.695e-05/0.8713, allocations: 43.89 kB / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8713, allocations: 0 / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8713, allocations: 0 / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8713, allocations: 0 / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004192/0.8717, allocations: 365.1 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.8718, allocations: 15.98 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.8718, allocations: 15.81 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.872, allocations: 194.9 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.8721, allocations: 7.938 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.8721, allocations: 8 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.8722, allocations: 92.81 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8723, allocations: 0 / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.8723, allocations: 8 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.8723, allocations: 7.938 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.344e-05/0.8724, allocations: 39.92 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.8729, allocations: 428.6 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.873, allocations: 41.28 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.873, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.873, allocations: 38.69 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.873, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000167/0.8732, allocations: 57.48 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.8733, allocations: 77.11 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.8734, allocations: 167.5 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.8734, allocations: 25.7 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.8735, allocations: 99.95 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.8735, allocations: 15.83 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.8735, allocations: 0 / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8736, allocations: 314.8 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.8737, allocations: 11.98 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.8737, allocations: 17.66 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.8737, allocations: 12 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8737, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.621e-05/0.8738, allocations: 61.59 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.8738, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.8738, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8739, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.8739, allocations: 15.89 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.8739, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.874, allocations: 8.062 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.874, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.585e-05/0.8741, allocations: 113.8 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.8741, allocations: 7.906 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.8741, allocations: 15.86 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.8741, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8742, allocations: 3.953 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8742, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.8745, allocations: 470.7 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8745, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.8746, allocations: 11.88 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.8746, allocations: 0 / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.8746, allocations: 3.953 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8746, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8746, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.966e-05/0.8747, allocations: 95.61 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.8747, allocations: 92.95 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.8748, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.8748, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.8748, allocations: 8.078 kB / 1.024 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.8748, allocations: 4 kB / 1.024 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.305e-05/0.8749, allocations: 120.9 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8749, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001793/0.8751, allocations: 7.938 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001146/0.8752, allocations: 99.25 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.622e-05/0.8753, allocations: 19.92 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8753, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-06/0.8753, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.8754, allocations: 12.25 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.8758, allocations: 178.5 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.876, allocations: 0.6965 MB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.8761, allocations: 12.42 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.8761, allocations: 7.438 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8761, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.002485/0.8786, allocations: 407.9 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches