Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001741/0.001741, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8387/0.84, allocations: 140.4 MB / 0.9489 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002276/0.8424, allocations: 0.878 MB / 0.9498 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.8425, allocations: 39.78 kB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.8426, allocations: 1.5 kB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.8426, allocations: 9.547 kB / 0.9498 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.8427, allocations: 7.938 kB / 0.9498 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-05/0.8428, allocations: 16.34 kB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.637e-05/0.8429, allocations: 57.47 kB / 0.9499 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.843, allocations: 39.98 kB / 0.9499 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.843, allocations: 30.67 kB / 0.95 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.8431, allocations: 25.2 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.8431, allocations: 4.156 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.8431, allocations: 2.688 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.8432, allocations: 14.67 kB / 0.95 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.8432, allocations: 38.61 kB / 0.9501 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.924e-05/0.8433, allocations: 66.11 kB / 0.9501 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8433, allocations: 0 / 0.9501 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.82e-07/0.8433, allocations: 3.938 kB / 0.9501 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8433, allocations: 0 / 0.9501 GB, free: 8.23 MB / 0.7169 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.0003339/0.8436, allocations: 374.5 kB / 0.9505 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8437, allocations: 17.61 kB / 0.9505 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.8437, allocations: 8.969 kB / 0.9505 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.8439, allocations: 191.2 kB / 0.9507 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.8439, allocations: 7.125 kB / 0.9507 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.8439, allocations: 9.875 kB / 0.9507 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.8441, allocations: 86.73 kB / 0.9508 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8441, allocations: 1.562 kB / 0.9508 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8441, allocations: 7.938 kB / 0.9508 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8441, allocations: 10.69 kB / 0.9508 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.8442, allocations: 39.16 kB / 0.9508 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.8447, allocations: 437.9 kB / 0.9513 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.8447, allocations: 40.03 kB / 0.9513 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.8447, allocations: 20.59 kB / 0.9513 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.8448, allocations: 0 / 0.9513 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.8448, allocations: 35.92 kB / 0.9514 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8448, allocations: 0 / 0.9514 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.845, allocations: 55.42 kB / 0.9514 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.845, allocations: 82.55 kB / 0.9515 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.8451, allocations: 167.4 kB / 0.9516 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.8451, allocations: 25.7 kB / 0.9517 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.8452, allocations: 112 kB / 0.9518 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.825e-06/0.8452, allocations: 5.281 kB / 0.9518 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.8452, allocations: 17.84 kB / 0.9518 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.8453, allocations: 316.2 kB / 0.9521 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.8453, allocations: 16.12 kB / 0.9521 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.8453, allocations: 21.83 kB / 0.9521 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.8454, allocations: 26.67 kB / 0.9522 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8454, allocations: 0 / 0.9522 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.479e-05/0.8455, allocations: 59.64 kB / 0.9522 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.8455, allocations: 5 kB / 0.9522 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8455, allocations: 8 kB / 0.9522 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.8455, allocations: 1.406 kB / 0.9522 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.8456, allocations: 9.359 kB / 0.9522 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8456, allocations: 1.469 kB / 0.9522 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.8456, allocations: 1.25 kB / 0.9522 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.8456, allocations: 1.531 kB / 0.9522 GB, free: 6.062 MB / 0.7169 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 6.247e-05/0.8457, allocations: 117.2 kB / 0.9524 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.8458, allocations: 12.06 kB / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.8458, allocations: 10.81 kB / 0.9524 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8458, allocations: 9.203 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8458, allocations: 1.312 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8458, allocations: 0 / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.8461, allocations: 474.7 kB / 0.9528 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8461, allocations: 3.938 kB / 0.9528 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.8462, allocations: 2.812 kB / 0.9528 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8462, allocations: 1.375 kB / 0.9528 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.8462, allocations: 5.188 kB / 0.9529 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.8462, allocations: 0 / 0.9529 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8462, allocations: 1.469 kB / 0.9529 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.788e-05/0.8463, allocations: 82.8 kB / 0.9529 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.8463, allocations: 87.55 kB / 0.953 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.8463, allocations: 0.9688 kB / 0.953 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.8463, allocations: 5.625 kB / 0.953 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.8464, allocations: 7.922 kB / 0.953 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.8464, allocations: 1.219 kB / 0.953 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.599e-05/0.8465, allocations: 121.9 kB / 0.9531 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8465, allocations: 0 / 0.9531 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000192/0.8467, allocations: 10.59 kB / 0.9532 GB, free: 5.105 MB / 0.7169 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 9.624e-05/0.8468, allocations: 98.05 kB / 0.9533 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.242e-05/0.8468, allocations: 18.56 kB / 0.9533 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8469, allocations: 1 kB / 0.9533 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.8469, allocations: 7.438 kB / 0.9533 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.847, allocations: 11.44 kB / 0.9533 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.8474, allocations: 182.2 kB / 0.9535 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.8475, allocations: 0.6956 MB / 0.9541 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.8476, allocations: 8.828 kB / 0.9541 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.8476, allocations: 11.25 kB / 0.9542 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of SimCode: time 5.2e-07/0.8476, allocations: 0 / 0.9542 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.002664/0.8503, allocations: 438.5 kB / 0.9546 GB, free: 3.879 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches