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.001628/0.001628, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002094/0.002094, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.518/1.518, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.457/2.457, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8755/0.877, allocations: 140.4 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002384/0.8795, allocations: 0.8927 MB / 0.95 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.8796, allocations: 41.28 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.8797, allocations: 2.75 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.922e-05/0.8797, allocations: 3.938 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.8799, allocations: 7.922 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.289e-05/0.8799, allocations: 16.12 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.88, allocations: 64.59 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.8802, allocations: 40.41 kB / 0.9501 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.8803, allocations: 28.17 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.8804, allocations: 31.91 kB / 0.9502 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.8804, allocations: 6.875 kB / 0.9502 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.8804, allocations: 5.5 kB / 0.9502 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.8805, allocations: 18.67 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.8805, allocations: 34.62 kB / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.8806, allocations: 71.42 kB / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8806, allocations: 0 / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8807, allocations: 0 / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8807, allocations: 0 / 0.9503 GB, free: 8.188 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.0004111/0.8811, allocations: 378.5 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.8811, allocations: 9.625 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.8812, allocations: 8.969 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.8814, allocations: 199.2 kB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.8814, allocations: 3.125 kB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.8814, allocations: 9.875 kB / 0.9509 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.8816, allocations: 90.83 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8816, allocations: 1.562 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.8816, allocations: 15.88 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.8817, allocations: 2.75 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.8818, allocations: 39.48 kB / 0.951 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.8823, allocations: 433 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.657e-05/0.8823, allocations: 41.75 kB / 0.9515 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.8824, allocations: 19.31 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.8824, allocations: 0 / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.8824, allocations: 31.91 kB / 0.9515 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8824, allocations: 0 / 0.9515 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.8827, allocations: 66.94 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.8827, allocations: 78.3 kB / 0.9517 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.8828, allocations: 159.6 kB / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.8829, allocations: 29.64 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.8829, allocations: 113 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.8829, allocations: 5.156 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.883, allocations: 17.56 kB / 0.952 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.883, allocations: 321.4 kB / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.8831, allocations: 7.156 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.8831, allocations: 18.75 kB / 0.9523 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.597e-05/0.8832, allocations: 25.31 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8832, allocations: 5.234 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.8833, allocations: 58.98 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8833, allocations: 9.719 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8833, allocations: 3.938 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.8833, allocations: 1.219 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.8834, allocations: 4.781 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.8834, allocations: 5.453 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.8835, allocations: 5.406 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.8835, allocations: 2.656 kB / 0.9524 GB, free: 6.02 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 6.564e-05/0.8836, allocations: 112.4 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.8836, allocations: 7.906 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.8837, allocations: 15.59 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8837, allocations: 0 / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8837, allocations: 0.9688 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8837, allocations: 5.422 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.8841, allocations: 478.4 kB / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8841, allocations: 0 / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.8841, allocations: 2.938 kB / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.8841, allocations: 5.75 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.8842, allocations: 0 / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8842, allocations: 5.594 kB / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8842, allocations: 0 / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.832e-05/0.8843, allocations: 86.3 kB / 0.9531 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.8843, allocations: 88.33 kB / 0.9532 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.8844, allocations: 4.938 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.061e-05/0.8844, allocations: 0 / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.8844, allocations: 6.109 kB / 0.9532 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.8844, allocations: 5.5 kB / 0.9532 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.441e-05/0.8845, allocations: 116.5 kB / 0.9533 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8845, allocations: 0 / 0.9533 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002978/0.8848, allocations: 10.88 kB / 0.9534 GB, free: 5.066 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.0001144/0.885, allocations: 100.7 kB / 0.9534 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.8851, allocations: 21.75 kB / 0.9535 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8851, allocations: 1.25 kB / 0.9535 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.8851, allocations: 3.062 kB / 0.9535 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.8854, allocations: 12.55 kB / 0.9535 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.8857, allocations: 190.3 kB / 0.9537 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.8859, allocations: 0.6978 MB / 0.9543 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.8859, allocations: 9.453 kB / 0.9544 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.886, allocations: 10.62 kB / 0.9544 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.886, allocations: 4 kB / 0.9544 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.003972/0.89, allocations: 445.5 kB / 0.9548 GB, free: 3.828 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