Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001461/0.001461, allocations: 108.7 kB / 15.99 MB, free: 6.348 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.001469/0.001469, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.571/2.571, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 75.73 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.28, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002107/0.2821, allocations: 0.8841 MB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001033/0.2822, allocations: 47.78 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.2823, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.2823, allocations: 3.938 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.2824, allocations: 3.938 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.393e-05/0.2825, allocations: 19.98 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.2826, allocations: 59.84 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2827, allocations: 43.95 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.2828, allocations: 27.86 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.2828, allocations: 27.8 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2828, allocations: 8 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.2829, allocations: 4 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.2829, allocations: 19.92 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.2829, allocations: 39.75 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.944e-05/0.283, allocations: 48.17 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.283, allocations: 4 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.283, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.283, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8419 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.000443/0.2835, allocations: 375.2 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2835, allocations: 12.03 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.2836, allocations: 12.75 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2838, allocations: 196.2 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2838, allocations: 4.375 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2838, allocations: 12.38 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.284, allocations: 87.94 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.284, allocations: 192 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.284, allocations: 7.938 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.284, allocations: 4 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.2841, allocations: 39.92 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.2846, allocations: 436.6 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.2847, allocations: 41.19 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.2848, allocations: 21.77 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-06/0.2848, allocations: 4 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2848, allocations: 34.56 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2848, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001585/0.285, allocations: 53.48 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.285, allocations: 81.11 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2852, allocations: 159.9 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2852, allocations: 29.95 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.2853, allocations: 119.9 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/0.2853, allocations: 3.906 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.2854, allocations: 21.7 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2855, allocations: 314.8 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.2855, allocations: 7.938 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.2856, allocations: 21.7 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.2856, allocations: 29.72 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2856, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.54e-05/0.2857, allocations: 61.53 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2857, allocations: 4 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2857, allocations: 3.938 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2858, allocations: 4 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.2858, allocations: 4.094 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2858, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.2859, allocations: 15.91 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.2859, allocations: 3.984 kB / 1.067 GB, free: 11.45 MB / 0.8419 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.228e-05/0.286, allocations: 115.6 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.286, allocations: 7.906 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.2861, allocations: 19.8 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2861, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2861, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2861, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.2865, allocations: 470.8 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2865, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.2865, allocations: 7.938 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2865, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2866, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2866, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2866, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/0.2867, allocations: 85.89 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.2867, allocations: 89 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.2867, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.2868, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.2868, allocations: 7.938 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2868, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.433e-05/0.2869, allocations: 129.2 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.873e-06/0.2869, allocations: 4.031 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001788/0.2871, allocations: 11.94 kB / 1.068 GB, free: 10.41 MB / 0.8419 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.0001061/0.2872, allocations: 95.25 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.373e-05/0.2873, allocations: 19.98 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2873, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.2873, allocations: 7.938 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.2875, allocations: 17.72 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.2878, allocations: 208.8 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.2881, allocations: 0.7002 MB / 1.069 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.2881, allocations: 11.44 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2881, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.002262/0.2904, allocations: 0.8599 MB / 1.07 GB, free: 8.422 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches