Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001238/0.001238, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00129/0.00129, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 65.03 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3007, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002187/0.303, allocations: 0.8287 MB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.3031, allocations: 51.72 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.3032, allocations: 0 / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.3032, allocations: 11.86 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.3033, allocations: 7.938 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.561e-05/0.3033, allocations: 15.92 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3035, allocations: 67.83 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3036, allocations: 35.98 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.3037, allocations: 23.92 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.3038, allocations: 31.8 kB / 0.9522 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3038, allocations: 7.984 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.3038, allocations: 8 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.3038, allocations: 23.8 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.3039, allocations: 27.81 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.304, allocations: 71.72 kB / 0.9523 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.304, allocations: 3.984 kB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.635e-06/0.304, allocations: 0 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.304, allocations: 4 kB / 0.9523 GB, free: 6.824 MB / 0.7325 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.0004621/0.3045, allocations: 375.2 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3045, allocations: 12.03 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.3046, allocations: 8.844 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.3048, allocations: 200.1 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3048, allocations: 12.38 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.3049, allocations: 4.375 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.3051, allocations: 95.86 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3051, allocations: 192 / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3051, allocations: 7.938 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3051, allocations: 4 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.3052, allocations: 35.92 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.3058, allocations: 436.6 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.597e-05/0.3059, allocations: 37.34 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.3059, allocations: 17.78 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3059, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.306, allocations: 38.56 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.306, allocations: 0 / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001864/0.3062, allocations: 57.47 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3062, allocations: 81.05 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3064, allocations: 167.2 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3064, allocations: 25.7 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.3065, allocations: 100.2 kB / 0.9539 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.3065, allocations: 19.89 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.3066, allocations: 13.72 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3067, allocations: 318.8 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.3068, allocations: 8 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.3068, allocations: 13.72 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.3068, allocations: 29.72 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3068, allocations: 0 / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.65e-05/0.307, allocations: 61.53 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.307, allocations: 4 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.307, allocations: 4.031 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.307, allocations: 7.984 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.3071, allocations: 4 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3071, allocations: 3.938 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.3071, allocations: 15.84 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.3071, allocations: 3.938 kB / 0.9544 GB, free: 4.383 MB / 0.7325 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.723e-05/0.3072, allocations: 125.8 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3073, allocations: 7.906 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.3073, allocations: 11.81 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3073, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3073, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3073, allocations: 4 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.3078, allocations: 478.8 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3078, allocations: 0 / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.3078, allocations: 7.984 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3078, allocations: 0 / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3078, allocations: 0 / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3078, allocations: 4 kB / 0.955 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3078, allocations: 0 / 0.955 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.183e-05/0.3079, allocations: 77.91 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.308, allocations: 93 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.308, allocations: 3.938 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.3081, allocations: 0 / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.3081, allocations: 4 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.3081, allocations: 0 / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.3082, allocations: 121.5 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3082, allocations: 0 / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001878/0.3084, allocations: 8 kB / 0.9553 GB, free: 3.344 MB / 0.7325 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.0001406/0.3085, allocations: 103.8 kB / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.3086, allocations: 19.98 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3086, allocations: 3.938 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.3087, allocations: 4 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.3088, allocations: 11.31 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.3092, allocations: 171 kB / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3095, allocations: 0.6961 MB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.3095, allocations: 8.422 kB / 0.9563 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.3095, allocations: 11.44 kB / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.3096, allocations: 0 / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.002429/0.312, allocations: 448.5 kB / 0.9568 GB, free: 1.816 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches