Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.01031/0.01031, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.002126/0.002126, allocations: 200.5 kB / 16.68 MB, free: 5.969 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.06/3.06, allocations: 472.6 MB / 0.7453 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.12 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3929, allocations: 159.9 MB / 1.226 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002211/0.3952, allocations: 0.8383 MB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.3953, allocations: 39.78 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.3954, allocations: 4 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.3954, allocations: 7.875 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.934e-05/0.3955, allocations: 7.875 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.191e-05/0.3956, allocations: 23.97 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.3957, allocations: 59.84 kB / 1.227 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3959, allocations: 51.91 kB / 1.227 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.396, allocations: 27.86 kB / 1.227 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.396, allocations: 27.8 kB / 1.227 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3961, allocations: 4 kB / 1.227 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.3961, allocations: 8 kB / 1.227 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.3961, allocations: 15.92 kB / 1.227 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.3962, allocations: 35.75 kB / 1.227 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.3963, allocations: 79.62 kB / 1.227 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3963, allocations: 0 / 1.227 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3963, allocations: 0 / 1.227 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3963, allocations: 0 / 1.227 GB, free: 7.953 MB / 0.9825 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.0004684/0.3968, allocations: 379.1 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3969, allocations: 8.031 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.3969, allocations: 12.84 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3971, allocations: 204.1 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3972, allocations: 12.31 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3972, allocations: 4.375 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3973, allocations: 91.89 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3974, allocations: 192 / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3974, allocations: 3.938 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3974, allocations: 4 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3975, allocations: 35.98 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.3981, allocations: 444.7 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.438e-05/0.3982, allocations: 37.22 kB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.3982, allocations: 21.77 kB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.3982, allocations: 8 kB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3983, allocations: 34.59 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3983, allocations: 0 / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002615/0.3985, allocations: 57.52 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3986, allocations: 77.11 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3988, allocations: 164.6 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3988, allocations: 25.95 kB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.3989, allocations: 108.1 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.3989, allocations: 3.953 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3989, allocations: 21.67 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3991, allocations: 318.8 kB / 1.229 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.3991, allocations: 11.94 kB / 1.229 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.3991, allocations: 13.72 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.3992, allocations: 41.66 kB / 1.229 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3992, allocations: 0 / 1.229 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.131e-05/0.3993, allocations: 53.64 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3993, allocations: 4 kB / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3993, allocations: 7.938 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3993, allocations: 0 / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.3994, allocations: 4 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3994, allocations: 3.938 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.3995, allocations: 12 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.3995, allocations: 3.984 kB / 1.229 GB, free: 5.504 MB / 0.9825 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.815e-05/0.3996, allocations: 113.8 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.3996, allocations: 7.953 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.3996, allocations: 15.81 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3996, allocations: 0 / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3997, allocations: 0 / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3997, allocations: 4 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.4, allocations: 474.7 kB / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4001, allocations: 11.92 kB / 1.23 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.4001, allocations: 0 / 1.23 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4001, allocations: 4 kB / 1.23 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4001, allocations: 0 / 1.23 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4001, allocations: 0 / 1.23 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4001, allocations: 0 / 1.23 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.619e-05/0.4002, allocations: 81.89 kB / 1.23 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.4003, allocations: 93.05 kB / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4003, allocations: 0 / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.4003, allocations: 0 / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.4004, allocations: 4 kB / 1.23 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.4004, allocations: 0 / 1.23 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001162/0.4005, allocations: 119.2 kB / 1.23 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4005, allocations: 4.031 kB / 1.23 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001955/0.4007, allocations: 8 kB / 1.23 GB, free: 4.465 MB / 0.9825 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.00017/0.4009, allocations: 103.2 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.401, allocations: 19.94 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.401, allocations: 3.938 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.401, allocations: 8 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.4012, allocations: 13.66 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.4015, allocations: 162.9 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4019, allocations: 0.6885 MB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.402, allocations: 8.422 kB / 1.231 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.402, allocations: 11.44 kB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.402, allocations: 0 / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.002667/0.4047, allocations: 468.6 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches