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.001419/0.001419, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.513/2.513, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 71.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9085, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001893/0.9105, allocations: 0.8101 MB / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.118e-05/0.9106, allocations: 41.28 kB / 0.9504 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.9106, allocations: 1.375 kB / 0.9504 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.9107, allocations: 11.88 kB / 0.9504 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.9107, allocations: 17.19 kB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.543e-05/0.9108, allocations: 18.72 kB / 0.9505 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.9109, allocations: 52.67 kB / 0.9505 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.911, allocations: 48.45 kB / 0.9506 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.911, allocations: 28.06 kB / 0.9506 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.9111, allocations: 31.91 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.9111, allocations: 6.875 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.9111, allocations: 5.562 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.9111, allocations: 14.17 kB / 0.9506 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.9112, allocations: 34.86 kB / 0.9507 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.438e-05/0.9113, allocations: 70.66 kB / 0.9507 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.9113, allocations: 0 / 0.9507 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9113, allocations: 0 / 0.9507 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.9113, allocations: 3.938 kB / 0.9508 GB, free: 8.277 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.0003065/0.9116, allocations: 382.3 kB / 0.9511 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.9117, allocations: 10.06 kB / 0.9511 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.9117, allocations: 9.25 kB / 0.9511 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.9119, allocations: 199.4 kB / 0.9513 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.9119, allocations: 6.969 kB / 0.9513 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.9119, allocations: 5.594 kB / 0.9513 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.912, allocations: 99.53 kB / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.912, allocations: 192 / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.912, allocations: 11.92 kB / 0.9514 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.9121, allocations: 2.219 kB / 0.9514 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.9121, allocations: 35.33 kB / 0.9515 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.9125, allocations: 429.7 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/0.9126, allocations: 45.12 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.9126, allocations: 24.11 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.9126, allocations: 0 / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.9126, allocations: 35.81 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9126, allocations: 4 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.9128, allocations: 54.98 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.9128, allocations: 79.14 kB / 0.9521 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.9129, allocations: 166.9 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.9129, allocations: 25.7 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.913, allocations: 108.2 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.913, allocations: 13.16 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.913, allocations: 21.83 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.9131, allocations: 321.8 kB / 0.9527 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.9131, allocations: 6.75 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.9131, allocations: 18.23 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.9132, allocations: 26.25 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9132, allocations: 0.9375 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.93e-05/0.9132, allocations: 63.5 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.9132, allocations: 4.094 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.9133, allocations: 5.25 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.9133, allocations: 1.406 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.9133, allocations: 5.312 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.9133, allocations: 3.984 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.9134, allocations: 3.531 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.9134, allocations: 0 / 0.9529 GB, free: 6.102 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.255e-05/0.9134, allocations: 122.6 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.9135, allocations: 7.219 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.9135, allocations: 23.33 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.9135, allocations: 0 / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.9135, allocations: 1.5 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9135, allocations: 0 / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.9138, allocations: 474 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9138, allocations: 1.188 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.9138, allocations: 6.531 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9138, allocations: 1.469 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.9138, allocations: 1.5 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9138, allocations: 0 / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9139, allocations: 1.438 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.064e-05/0.9139, allocations: 78.08 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.914, allocations: 99.34 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.914, allocations: 1.219 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.914, allocations: 1.094 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.914, allocations: 4.781 kB / 0.9537 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.914, allocations: 1.531 kB / 0.9537 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.9141, allocations: 120 kB / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.31e-07/0.9141, allocations: 0 / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001797/0.9143, allocations: 11.25 kB / 0.9538 GB, free: 5.145 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.479e-05/0.9144, allocations: 102.2 kB / 0.9539 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.306e-05/0.9145, allocations: 21.42 kB / 0.9539 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.9145, allocations: 1.219 kB / 0.9539 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.9145, allocations: 11.84 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.9146, allocations: 11.28 kB / 0.9539 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.9149, allocations: 149.8 kB / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.915, allocations: 0.6982 MB / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.9151, allocations: 9.109 kB / 0.9548 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.9151, allocations: 10.81 kB / 0.9548 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9151, allocations: 4 kB / 0.9548 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.002276/0.9174, allocations: 456.6 kB / 0.9552 GB, free: 3.93 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