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.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.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.001463/0.001463, 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.001675/0.001675, allocations: 194.6 kB / 16.14 MB, free: 6.719 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.474/2.474, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 71.88 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8016, allocations: 140.3 MB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002099/0.8037, allocations: 0.8812 MB / 0.9498 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.343e-05/0.8038, allocations: 41.53 kB / 0.9498 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.8039, allocations: 5.625 kB / 0.9498 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.8039, allocations: 3.938 kB / 0.9498 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.804, allocations: 3.938 kB / 0.9498 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.096e-05/0.8041, allocations: 19.7 kB / 0.9498 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.8042, allocations: 58.56 kB / 0.9499 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.8043, allocations: 47.19 kB / 0.9499 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.8044, allocations: 23.66 kB / 0.95 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.8044, allocations: 29.62 kB / 0.95 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.8045, allocations: 2.812 kB / 0.95 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.8045, allocations: 4.531 kB / 0.95 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.8045, allocations: 14.72 kB / 0.95 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.8046, allocations: 33.55 kB / 0.9501 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.991e-05/0.8046, allocations: 69.92 kB / 0.9501 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8047, allocations: 0 / 0.9501 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8047, allocations: 5.375 kB / 0.9501 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.8047, allocations: 0 / 0.9501 GB, free: 8.176 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.0004177/0.8051, allocations: 378.5 kB / 0.9505 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.8052, allocations: 9.625 kB / 0.9505 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.8052, allocations: 8.969 kB / 0.9505 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.8054, allocations: 197.7 kB / 0.9507 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8054, allocations: 8.5 kB / 0.9507 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.8054, allocations: 4.5 kB / 0.9507 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.8056, allocations: 94.08 kB / 0.9508 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8056, allocations: 4.125 kB / 0.9508 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.8056, allocations: 9.312 kB / 0.9508 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.8056, allocations: 1.375 kB / 0.9508 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.8057, allocations: 32.61 kB / 0.9508 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.8063, allocations: 440.7 kB / 0.9513 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.8063, allocations: 41.2 kB / 0.9513 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.8064, allocations: 23.16 kB / 0.9513 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.8064, allocations: 1.375 kB / 0.9513 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.8064, allocations: 39.88 kB / 0.9514 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.8065, allocations: 0 / 0.9514 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001918/0.8067, allocations: 51.3 kB / 0.9514 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.8067, allocations: 85.03 kB / 0.9515 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.8068, allocations: 161.1 kB / 0.9516 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.8068, allocations: 25.7 kB / 0.9517 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.8069, allocations: 109.6 kB / 0.9518 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/0.8069, allocations: 13.28 kB / 0.9518 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.8069, allocations: 16.45 kB / 0.9518 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.807, allocations: 317.6 kB / 0.9521 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.807, allocations: 10.73 kB / 0.9521 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.807, allocations: 15.22 kB / 0.9521 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.8071, allocations: 29.97 kB / 0.9522 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8071, allocations: 4 kB / 0.9522 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.274e-05/0.8072, allocations: 59.19 kB / 0.9522 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8072, allocations: 7 kB / 0.9522 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8072, allocations: 5.344 kB / 0.9522 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.8072, allocations: 0 / 0.9522 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.8073, allocations: 5.625 kB / 0.9522 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8073, allocations: 5.312 kB / 0.9522 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.8073, allocations: 6.688 kB / 0.9522 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.8074, allocations: 5.031 kB / 0.9522 GB, free: 6.004 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 5.947e-05/0.8074, allocations: 114 kB / 0.9524 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.8075, allocations: 16.08 kB / 0.9524 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.8075, allocations: 9.375 kB / 0.9524 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8075, allocations: 1.219 kB / 0.9524 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.8075, allocations: 1.125 kB / 0.9524 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.8075, allocations: 0 / 0.9524 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.8078, allocations: 478.5 kB / 0.9528 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.8078, allocations: 1.438 kB / 0.9528 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.8078, allocations: 2.781 kB / 0.9528 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.8078, allocations: 0 / 0.9528 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.8079, allocations: 1.344 kB / 0.9528 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8079, allocations: 9.516 kB / 0.9529 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8079, allocations: 0 / 0.9529 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.876e-05/0.8079, allocations: 82.5 kB / 0.9529 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.808, allocations: 99.83 kB / 0.953 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.808, allocations: 1.125 kB / 0.953 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.808, allocations: 1.312 kB / 0.953 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.8081, allocations: 1.438 kB / 0.953 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.8081, allocations: 0 / 0.953 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.8081, allocations: 119.5 kB / 0.9531 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8081, allocations: 0 / 0.9531 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001827/0.8083, allocations: 7.438 kB / 0.9532 GB, free: 5.055 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 0.0001134/0.8084, allocations: 104.1 kB / 0.9533 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.943e-05/0.8085, allocations: 19.08 kB / 0.9533 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8085, allocations: 4 kB / 0.9533 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.8086, allocations: 3.625 kB / 0.9533 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.8087, allocations: 12.42 kB / 0.9533 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.809, allocations: 174.8 kB / 0.9535 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.8091, allocations: 0.6945 MB / 0.9541 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.8092, allocations: 9.344 kB / 0.9541 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.8092, allocations: 11.66 kB / 0.9542 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/0.8092, allocations: 0 / 0.9542 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.002531/0.8117, allocations: 442.6 kB / 0.9546 GB, free: 3.824 MB / 0.7169 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 -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/jenkins/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