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.00158/0.00158, allocations: 105.5 kB / 16.37 MB, free: 6.48 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.001683/0.001683, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002164/0.3291, allocations: 0.8395 MB / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000123/0.3293, allocations: 47.78 kB / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.3293, allocations: 0 / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.16e-05/0.3294, allocations: 7.875 kB / 1.028 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.3295, allocations: 11.86 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.292e-05/0.3295, allocations: 19.98 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3297, allocations: 59.84 kB / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.3298, allocations: 39.97 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.3299, allocations: 27.86 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.3299, allocations: 39.7 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.33, allocations: 8 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.33, allocations: 7.938 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.33, allocations: 15.94 kB / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.3301, allocations: 31.8 kB / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3302, allocations: 71.7 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3302, allocations: 4 kB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3302, allocations: 0 / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3302, allocations: 0 / 1.028 GB, free: 0.8672 MB / 0.795 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.0004306/0.3306, allocations: 379.2 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3307, allocations: 8.031 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.3307, allocations: 12.78 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.3309, allocations: 188.2 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.331, allocations: 8.281 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.331, allocations: 8.375 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3311, allocations: 99.88 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.3312, allocations: 4.188 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3312, allocations: 7.938 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3312, allocations: 0 / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.3313, allocations: 39.97 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.3318, allocations: 440.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.633e-05/0.3319, allocations: 37.16 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.3319, allocations: 17.84 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.332, allocations: 4.078 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.332, allocations: 42.5 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.332, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.3322, allocations: 57.48 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3322, allocations: 77.11 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3324, allocations: 166.1 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.3324, allocations: 25.7 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.3324, allocations: 104 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.3325, allocations: 4.156 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3325, allocations: 21.72 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3326, allocations: 322.8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.3326, allocations: 0 / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.3327, allocations: 25.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.3327, allocations: 25.66 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3328, allocations: 4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.496e-05/0.3328, allocations: 53.61 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3329, allocations: 8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3329, allocations: 7.922 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3329, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.333, allocations: 11.88 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.333, allocations: 7.984 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.333, allocations: 7.844 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.333, allocations: 4 kB / 1.03 GB, free: 14.42 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 7.987e-05/0.3331, allocations: 117.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.3332, allocations: 7.906 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.3332, allocations: 19.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3332, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3332, allocations: 4 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3332, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.3336, allocations: 470.8 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3336, allocations: 4.031 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.3336, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3336, allocations: 3.938 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.3336, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3336, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3336, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.405e-05/0.3337, allocations: 93.77 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.3338, allocations: 81.02 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3338, allocations: 7.984 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/0.3338, allocations: 4 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.3338, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.3339, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.556e-05/0.3339, allocations: 123.2 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3339, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001906/0.3341, allocations: 8 kB / 1.031 GB, free: 13.38 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.0001056/0.3343, allocations: 99.28 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.222e-05/0.3343, allocations: 19.94 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3343, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.3344, allocations: 7.984 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.3345, allocations: 13.97 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.3348, allocations: 159.1 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3351, allocations: 0.6924 MB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.3351, allocations: 12.36 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.3351, allocations: 11.44 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3351, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.002682/0.3378, allocations: 444.6 kB / 1.032 GB, free: 11.86 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 -s gbode -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