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.005748/0.005748, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001444/0.001445, allocations: 196.6 kB / 16.79 MB, free: 5.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 65.59 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3367, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.003031/0.3398, allocations: 0.8935 MB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000173/0.34, allocations: 39.8 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.3401, allocations: 0 / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.459e-05/0.3402, allocations: 3.938 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.3403, allocations: 3.984 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.274e-05/0.3404, allocations: 23.92 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.3405, allocations: 59.77 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3407, allocations: 43.95 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.3408, allocations: 19.88 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.3408, allocations: 31.78 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3409, allocations: 7.938 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.3409, allocations: 4 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.3409, allocations: 11.94 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.341, allocations: 35.73 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.3411, allocations: 56.17 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3411, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3411, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3411, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 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.0005569/0.3417, allocations: 383.3 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3417, allocations: 8.031 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.3418, allocations: 8.844 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3421, allocations: 192.2 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3421, allocations: 8.375 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.3421, allocations: 8.312 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3423, allocations: 97.72 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3423, allocations: 192 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3423, allocations: 11.94 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3424, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.3424, allocations: 35.92 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.3431, allocations: 440.6 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.3432, allocations: 37.19 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.3433, allocations: 25.84 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.3433, allocations: 0 / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3433, allocations: 34.55 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.946e-06/0.3433, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002381/0.3436, allocations: 57.42 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3436, allocations: 81.11 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3438, allocations: 166.5 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3438, allocations: 25.7 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.3439, allocations: 104 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.3439, allocations: 7.906 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.344, allocations: 13.72 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3441, allocations: 322.8 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.3441, allocations: 4 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.3441, allocations: 25.64 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.3442, allocations: 29.72 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3442, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.249e-05/0.3443, allocations: 53.55 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3443, allocations: 8 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3443, allocations: 3.938 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3444, allocations: 7.922 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.3444, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3444, allocations: 8.062 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.3445, allocations: 11.84 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3445, allocations: 4 kB / 1.056 GB, free: 4.574 MB / 0.8106 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.398e-05/0.3446, allocations: 113.8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.3447, allocations: 7.906 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.3447, allocations: 15.8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3447, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3447, allocations: 96 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3447, allocations: 7.984 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.3451, allocations: 474.8 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3451, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.3452, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3452, allocations: 4 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3452, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3452, allocations: 3.938 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3452, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.877e-05/0.3453, allocations: 81.89 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.3453, allocations: 89.02 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3454, allocations: 7.922 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.3454, allocations: 4 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.3454, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.3454, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.719e-05/0.3455, allocations: 126.3 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3455, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001883/0.3457, allocations: 8 kB / 1.057 GB, free: 3.539 MB / 0.8106 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.000121/0.3458, allocations: 103.2 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.675e-05/0.3459, allocations: 16 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3459, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.3459, allocations: 4 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.3461, allocations: 21.72 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.3465, allocations: 206.2 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3467, allocations: 0.6965 MB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.3468, allocations: 11.44 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3468, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of Templates: time 0.002456/0.3492, allocations: 0.8598 MB / 1.059 GB, free: 1.551 MB / 0.8106 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