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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: 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.001515/0.001515, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.00172/0.00172, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.57/2.57, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 60.12 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8596/0.8609, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002426/0.8634, allocations: 0.827 MB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001608/0.8636, allocations: 39.78 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.8637, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.8637, allocations: 11.86 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.992e-05/0.8638, allocations: 7.938 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.463e-05/0.8639, allocations: 23.92 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.864, allocations: 63.84 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.8642, allocations: 43.91 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.732e-05/0.8643, allocations: 27.88 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.8643, allocations: 27.84 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.8644, allocations: 8 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.8644, allocations: 7.938 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.8644, allocations: 15.92 kB / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.8645, allocations: 39.73 kB / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.8646, allocations: 67.72 kB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8646, allocations: 0 / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8646, allocations: 0 / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8646, allocations: 0 / 1.21 GB, free: 12.47 MB / 0.9356 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.0004965/0.8651, allocations: 388.8 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8652, allocations: 8.031 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.8652, allocations: 8.844 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.8655, allocations: 196.1 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.8655, allocations: 8.375 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.8655, allocations: 4.375 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.8657, allocations: 98.06 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.8657, allocations: 192 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.8658, allocations: 15.94 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8658, allocations: 0 / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.8659, allocations: 35.92 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.8665, allocations: 432.5 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.66e-05/0.8666, allocations: 45.28 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.8666, allocations: 25.83 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.8666, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.8667, allocations: 30.56 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 4.118e-06/0.8667, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002002/0.8669, allocations: 57.7 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.8669, allocations: 85.08 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.8671, allocations: 160.7 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.8671, allocations: 29.64 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.8672, allocations: 104 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.8672, allocations: 7.906 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.8673, allocations: 17.7 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8674, allocations: 318.8 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.8674, allocations: 12 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.8675, allocations: 21.7 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.8675, allocations: 25.72 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8675, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.735e-05/0.8676, allocations: 57.53 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8676, allocations: 8 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.8677, allocations: 8 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8677, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.8678, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.8678, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.8678, allocations: 3.906 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.8678, allocations: 8 kB / 1.212 GB, free: 10.03 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/0.8679, allocations: 109.8 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.868, allocations: 11.98 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.868, allocations: 19.8 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.868, allocations: 4 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.868, allocations: 4 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.868, allocations: 0 / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.8684, allocations: 470.8 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8685, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.8685, allocations: 4 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8685, allocations: 3.938 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.8685, allocations: 64 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8685, allocations: 4 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8685, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.8686, allocations: 81.83 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.8687, allocations: 92.94 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.8687, allocations: 7.938 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.8688, allocations: 0 / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.8688, allocations: 4.031 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.8688, allocations: 3.938 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.153e-05/0.8689, allocations: 121.3 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8689, allocations: 0 / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001935/0.8691, allocations: 11.91 kB / 1.213 GB, free: 8.98 MB / 0.9356 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 (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.0001253/0.8692, allocations: 99.25 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.21e-05/0.8693, allocations: 19.98 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8693, allocations: 8.062 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.8693, allocations: 4 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.8695, allocations: 11.94 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.8699, allocations: 180.5 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.8701, allocations: 0.6964 MB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.8702, allocations: 15.44 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.8702, allocations: 0 / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.002481/0.8727, allocations: 0.8715 MB / 1.215 GB, free: 7.004 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches