Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.01325/0.01325, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001779/0.001778, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.612/2.612, allocations: 437 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.123, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002864/1.126, allocations: 0.8194 MB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001776/1.126, allocations: 51.77 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/1.126, allocations: 0 / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.513e-05/1.126, allocations: 7.875 kB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/1.126, allocations: 7.875 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.023e-05/1.126, allocations: 19.98 kB / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/1.126, allocations: 67.83 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/1.127, allocations: 39.97 kB / 1.168 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/1.127, allocations: 31.8 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/1.127, allocations: 23.86 kB / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/1.127, allocations: 12 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/1.127, allocations: 4 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/1.127, allocations: 19.92 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/1.127, allocations: 31.81 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/1.127, allocations: 76.12 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.127, allocations: 0 / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.837e-06/1.127, allocations: 0 / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.127, allocations: 3.938 kB / 1.168 GB, free: 2.695 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.0005119/1.128, allocations: 379.1 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.128, allocations: 16.92 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/1.128, allocations: 12.84 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/1.128, allocations: 192.2 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.128, allocations: 4.375 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/1.128, allocations: 8.375 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/1.128, allocations: 100.9 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.128, allocations: 192 / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/1.128, allocations: 7.938 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/1.128, allocations: 8 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/1.128, allocations: 39.92 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/1.129, allocations: 436.7 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/1.129, allocations: 41.31 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/1.129, allocations: 21.72 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/1.129, allocations: 0 / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/1.129, allocations: 30.56 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/1.129, allocations: 4 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/1.129, allocations: 61.52 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.129, allocations: 81.36 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/1.129, allocations: 156.9 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/1.129, allocations: 25.7 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/1.13, allocations: 104 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/1.13, allocations: 11.94 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/1.13, allocations: 13.72 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.13, allocations: 322.8 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/1.13, allocations: 4 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/1.13, allocations: 21.72 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/1.13, allocations: 25.66 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.13, allocations: 0 / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.159e-05/1.13, allocations: 69.53 kB / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.13, allocations: 4 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.13, allocations: 7.875 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.13, allocations: 4.062 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/1.13, allocations: 8 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.13, allocations: 0 / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/1.13, allocations: 7.938 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/1.13, allocations: 4 kB / 1.17 GB, free: 256 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 8.783e-05/1.13, allocations: 117.8 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/1.13, allocations: 7.953 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/1.13, allocations: 15.81 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.13, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.13, allocations: 4 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/1.13, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/1.131, allocations: 470.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.131, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/1.131, allocations: 7.984 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.131, allocations: 3.938 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/1.131, allocations: 96 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.131, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.131, allocations: 8 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/1.131, allocations: 81.88 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/1.131, allocations: 89.05 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/1.131, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/1.131, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/1.131, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/1.131, allocations: 8.031 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001088/1.131, allocations: 125.9 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002094/1.132, allocations: 4 kB / 1.171 GB, free: 15.2 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 0.0002461/1.132, allocations: 103.2 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001278/1.132, allocations: 19.94 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.132, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/1.132, allocations: 8.125 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/1.132, allocations: 7.938 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/1.133, allocations: 170.5 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/1.133, allocations: 0.6924 MB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.004e-05/1.133, allocations: 8.422 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/1.133, allocations: 19.5 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/1.133, allocations: 0 / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.003323/1.137, allocations: 458.9 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches