Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001647/0.001647, allocations: 106.5 kB / 16.37 MB, free: 6.012 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.001572/0.001572, allocations: 198.5 kB / 17.31 MB, free: 5.613 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.05 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3342, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002133/0.3364, allocations: 0.8473 MB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000109/0.3365, allocations: 39.78 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.3366, allocations: 4 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.3366, allocations: 7.875 kB / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.3367, allocations: 7.875 kB / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.066e-05/0.3368, allocations: 23.97 kB / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3369, allocations: 63.84 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3371, allocations: 39.95 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.3371, allocations: 27.86 kB / 1.028 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.3372, allocations: 31.73 kB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3372, allocations: 4 kB / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.3372, allocations: 12 kB / 1.028 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.3373, allocations: 15.92 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.3373, allocations: 31.81 kB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3374, allocations: 75.69 kB / 1.028 GB, free: 0.793 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3374, allocations: 0 / 1.028 GB, free: 0.793 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3374, allocations: 0 / 1.028 GB, free: 0.793 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3375, allocations: 0 / 1.028 GB, free: 0.793 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.0004382/0.3379, allocations: 376.5 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3379, allocations: 8.031 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.338, allocations: 12.84 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3382, allocations: 196.1 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3382, allocations: 4.281 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3383, allocations: 12.38 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3385, allocations: 91.89 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3385, allocations: 192 / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3385, allocations: 3.938 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3385, allocations: 4 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.3386, allocations: 40.03 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.3391, allocations: 440.5 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.3392, allocations: 41.16 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.3392, allocations: 21.72 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.3392, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.3393, allocations: 42.59 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3393, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001701/0.3394, allocations: 57.47 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3395, allocations: 77.11 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3396, allocations: 168.9 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3397, allocations: 25.7 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.3397, allocations: 104 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-06/0.3398, allocations: 7.906 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.3398, allocations: 17.72 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3399, allocations: 318.8 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.3399, allocations: 4 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.3399, allocations: 17.72 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.34, allocations: 29.66 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.34, allocations: 4 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.336e-05/0.3401, allocations: 57.59 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3401, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3401, allocations: 3.938 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3401, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.3402, allocations: 7.938 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3402, allocations: 8.047 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.3403, allocations: 11.84 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3403, allocations: 0 / 1.03 GB, free: 14.35 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.816e-05/0.3404, allocations: 117.8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.3404, allocations: 7.906 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.3404, allocations: 15.81 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3404, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3404, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3405, allocations: 4.031 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.3408, allocations: 478.8 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3409, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.3409, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3409, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3409, allocations: 7.938 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3409, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3409, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.031e-05/0.341, allocations: 89.83 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.3411, allocations: 85.02 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3411, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.3411, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.3411, allocations: 8 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3411, allocations: 7.922 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.502e-05/0.3412, allocations: 122.5 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3412, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001876/0.3414, allocations: 8 kB / 1.031 GB, free: 13.31 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.0001168/0.3416, allocations: 99.23 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.3417, allocations: 19.94 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3417, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-06/0.3417, allocations: 4 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.3419, allocations: 16.19 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.3422, allocations: 158.8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3425, allocations: 0.6924 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.3425, allocations: 8.422 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.3425, allocations: 15.44 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3425, allocations: 3.938 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of Templates: time 0.002678/0.3452, allocations: 448.5 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches