Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005914/0.005914, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001254/0.001254, allocations: 192 kB / 16.67 MB, free: 5.961 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.58/1.58, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 64.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.101, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002012/1.103, allocations: 0.8411 MB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/1.104, allocations: 39.78 kB / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/1.104, allocations: 4 kB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.434e-05/1.104, allocations: 7.875 kB / 1.167 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/1.104, allocations: 7.938 kB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.579e-05/1.104, allocations: 15.98 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/1.104, allocations: 67.77 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/1.104, allocations: 43.98 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/1.104, allocations: 19.92 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/1.104, allocations: 31.8 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/1.104, allocations: 4 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/1.104, allocations: 8 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/1.104, allocations: 19.91 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/1.104, allocations: 31.75 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/1.104, allocations: 72.22 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.104, allocations: 4 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/1.105, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.664e-06/1.105, allocations: 3.984 kB / 1.168 GB, free: 2.629 MB / 0.8887 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.0004919/1.105, allocations: 379.1 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.105, allocations: 8.625 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/1.105, allocations: 12.84 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/1.105, allocations: 212 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/1.105, allocations: 8.375 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/1.105, allocations: 8.375 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/1.106, allocations: 92.89 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.106, allocations: 192 / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/1.106, allocations: 7.938 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/1.106, allocations: 4 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/1.106, allocations: 35.92 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/1.106, allocations: 436.7 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/1.106, allocations: 45.33 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/1.106, allocations: 17.78 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/1.106, allocations: 3.984 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.107, allocations: 38.56 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.107, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/1.107, allocations: 57.52 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/1.107, allocations: 77.11 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/1.107, allocations: 164.4 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.107, allocations: 29.64 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/1.107, allocations: 104.3 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-06/1.107, allocations: 15.94 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/1.107, allocations: 13.72 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.107, allocations: 314.8 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/1.107, allocations: 11.98 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/1.107, allocations: 13.72 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/1.107, allocations: 29.72 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.107, allocations: 4 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.137e-05/1.107, allocations: 61.53 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.107, allocations: 4 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.107, allocations: 3.938 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.107, allocations: 4 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/1.108, allocations: 4 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/1.108, allocations: 0 / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/1.108, allocations: 11.94 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/1.108, allocations: 4 kB / 1.17 GB, free: 184 kB / 0.8887 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 9.817e-05/1.108, allocations: 125.8 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/1.108, allocations: 7.953 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/1.108, allocations: 11.81 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/1.108, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/1.108, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.108, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/1.108, allocations: 478.7 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.108, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/1.108, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.108, allocations: 3.984 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/1.108, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.108, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.108, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.052e-05/1.108, allocations: 77.95 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/1.108, allocations: 97.05 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/1.108, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/1.108, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/1.109, allocations: 7.938 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/1.109, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.405e-05/1.109, allocations: 120.1 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.109, allocations: 0 / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001782/1.109, allocations: 12 kB / 1.171 GB, free: 15.13 MB / 0.9044 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 9.84e-05/1.109, allocations: 99.28 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.387e-05/1.109, allocations: 19.98 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.109, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/1.109, allocations: 11.88 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/1.109, allocations: 11.94 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/1.109, allocations: 170.8 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/1.11, allocations: 0.6885 MB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.981e-05/1.11, allocations: 8.422 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/1.11, allocations: 11.44 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/1.11, allocations: 0 / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.002251/1.112, allocations: 460.6 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches