Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 108 kB / 15.61 MB, free: 152 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.001324/0.001325, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.431/2.431, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 68.08 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9065, allocations: 140.4 MB / 0.9496 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.003304/0.9098, allocations: 0.8107 MB / 0.9504 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001957/0.9101, allocations: 45.28 kB / 0.9504 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.9102, allocations: 5.375 kB / 0.9504 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.422e-05/0.9102, allocations: 11.86 kB / 0.9504 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.9104, allocations: 9.25 kB / 0.9504 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.729e-05/0.9104, allocations: 18.73 kB / 0.9505 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.9106, allocations: 68.52 kB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.9108, allocations: 40.47 kB / 0.9506 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.9109, allocations: 28.11 kB / 0.9506 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.911, allocations: 29.3 kB / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.9111, allocations: 5.5 kB / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-05/0.9111, allocations: 6.875 kB / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.9111, allocations: 18.36 kB / 0.9507 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.9112, allocations: 30.41 kB / 0.9507 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.9114, allocations: 75.75 kB / 0.9508 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.9114, allocations: 0 / 0.9508 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9114, allocations: 4 kB / 0.9508 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.9114, allocations: 0 / 0.9508 GB, free: 8.469 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.0005657/0.912, allocations: 374.6 kB / 0.9511 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.9121, allocations: 9.625 kB / 0.9511 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.9121, allocations: 9.094 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.9124, allocations: 199.2 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.9124, allocations: 7.156 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.9124, allocations: 12.83 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.9127, allocations: 91.36 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.9127, allocations: 192 / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.9127, allocations: 9.719 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.9127, allocations: 1.25 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.9129, allocations: 39.73 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.9135, allocations: 441.9 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/0.9136, allocations: 36.72 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.9136, allocations: 19.62 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.9137, allocations: 0 / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.9137, allocations: 35.81 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9137, allocations: 0 / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002691/0.914, allocations: 62.78 kB / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.9141, allocations: 82.11 kB / 0.9521 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.9143, allocations: 165.6 kB / 0.9523 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.9143, allocations: 25.7 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.9144, allocations: 112.8 kB / 0.9524 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.9144, allocations: 8.906 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.9145, allocations: 17.22 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.9146, allocations: 325.4 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.9146, allocations: 2.812 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.9147, allocations: 19.34 kB / 0.9528 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.9147, allocations: 30.03 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9147, allocations: 0 / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.9148, allocations: 63.25 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9149, allocations: 5.094 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.9149, allocations: 5.188 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.9149, allocations: 0 / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.915, allocations: 6.094 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.915, allocations: 4.828 kB / 0.9529 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.9151, allocations: 2.25 kB / 0.9529 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.9151, allocations: 1.219 kB / 0.9529 GB, free: 6.297 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 8.236e-05/0.9152, allocations: 121.8 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.9153, allocations: 7.688 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.9153, allocations: 14.41 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9153, allocations: 1.188 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9153, allocations: 1.312 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.9153, allocations: 0 / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.9158, allocations: 477.8 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.9158, allocations: 1.219 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.9158, allocations: 2.562 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9158, allocations: 1 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.9159, allocations: 1.344 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9159, allocations: 1.438 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9159, allocations: 0 / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.584e-05/0.916, allocations: 85.77 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.916, allocations: 88.61 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.9161, allocations: 5.375 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/0.9161, allocations: 3.938 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.9161, allocations: 5.062 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.9161, allocations: 1.25 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001002/0.9163, allocations: 125.5 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.9163, allocations: 0 / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003085/0.9166, allocations: 11.06 kB / 0.9538 GB, free: 5.34 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.0001526/0.9167, allocations: 101.4 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.9169, allocations: 17.78 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9169, allocations: 0 / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.339e-05/0.917, allocations: 7.875 kB / 0.9539 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.9172, allocations: 13.16 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.9177, allocations: 158.4 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.9178, allocations: 0.6943 MB / 0.9548 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.9179, allocations: 12.58 kB / 0.9548 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.9179, allocations: 11.62 kB / 0.9548 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.9179, allocations: 3.938 kB / 0.9548 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of Templates: time 0.003453/0.9214, allocations: 447.2 kB / 0.9552 GB, free: 4.133 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches