Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009468/0.009468, allocations: 102 kB / 15.73 MB, free: 6.488 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.001919/0.001919, allocations: 194.6 kB / 16.68 MB, free: 6.375 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.648/2.648, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 64.16 kB / 0.9509 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4053, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002441/0.4078, allocations: 0.8206 MB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002011/0.408, allocations: 51.78 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.4081, allocations: 0 / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.923e-05/0.4082, allocations: 7.875 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.4083, allocations: 11.86 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.09e-05/0.4084, allocations: 19.98 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.4085, allocations: 67.78 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.4087, allocations: 43.97 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.4088, allocations: 27.84 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.4089, allocations: 23.86 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.4089, allocations: 8 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.4089, allocations: 4 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.4089, allocations: 19.92 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.409, allocations: 39.73 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.4091, allocations: 83.58 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4092, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4092, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.4092, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 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.0005867/0.4098, allocations: 367.3 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4098, allocations: 19.95 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.4099, allocations: 12.75 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.4101, allocations: 188.2 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4101, allocations: 8.312 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.4102, allocations: 12.38 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.4103, allocations: 91.95 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4104, allocations: 192 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4104, allocations: 3.938 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4104, allocations: 7.984 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.4105, allocations: 35.92 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.4111, allocations: 436.6 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.53e-05/0.4112, allocations: 37.31 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.4112, allocations: 17.72 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.4112, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4113, allocations: 42.55 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4113, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.4115, allocations: 57.48 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.4116, allocations: 77.11 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4118, allocations: 159.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.4118, allocations: 25.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.4118, allocations: 104.3 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.4119, allocations: 7.906 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.4119, allocations: 17.72 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4121, allocations: 322.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.4121, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.4121, allocations: 29.58 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.4122, allocations: 29.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4122, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.388e-05/0.4123, allocations: 61.55 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4123, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4123, allocations: 3.938 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4124, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.4124, allocations: 11.98 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4125, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.4125, allocations: 7.844 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.4125, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 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 9.208e-05/0.4126, allocations: 118.4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.4126, allocations: 7.906 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.4127, allocations: 15.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4127, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4127, allocations: 3.938 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4127, allocations: 4 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.4131, allocations: 474.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4131, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.4131, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.4132, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.4132, allocations: 3.938 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4132, allocations: 4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4132, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.4133, allocations: 81.89 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.4133, allocations: 85.02 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4134, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.4134, allocations: 3.984 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.4134, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.4134, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.598e-05/0.4135, allocations: 120.9 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.4135, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001849/0.4137, allocations: 4 kB / 1.092 GB, free: 12.81 MB / 0.8575 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.0001145/0.4138, allocations: 107.2 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.4139, allocations: 12 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.4139, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.414, allocations: 15.88 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.4141, allocations: 9.75 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.4145, allocations: 171.1 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.4148, allocations: 0.6929 MB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.4148, allocations: 8.422 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.4149, allocations: 11.44 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.4149, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of Templates: time 0.002621/0.4175, allocations: 462 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches