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.01094/0.01094, allocations: 104.7 kB / 15.73 MB, free: 6.051 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.001551/0.001551, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.331/2.331, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.176, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002063/1.178, allocations: 0.827 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000115/1.178, allocations: 40.75 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/1.178, allocations: 6.156 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.336e-05/1.178, allocations: 13.78 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.819e-05/1.178, allocations: 9.938 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.026e-05/1.178, allocations: 20.86 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/1.178, allocations: 63.08 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/1.179, allocations: 42.02 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/1.179, allocations: 26.45 kB / 1.089 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/1.179, allocations: 31.5 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/1.179, allocations: 5.969 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/1.179, allocations: 6.062 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/1.179, allocations: 16.08 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/1.179, allocations: 32.88 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/1.179, allocations: 74.89 kB / 1.089 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/1.179, allocations: 1.484 kB / 1.089 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/1.179, allocations: 4 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.171e-06/1.179, allocations: 0 / 1.089 GB, free: 4.754 MB / 0.8575 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.0004097/1.179, allocations: 378.4 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.179, allocations: 9.969 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/1.179, allocations: 12.78 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/1.18, allocations: 193 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/1.18, allocations: 3 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/1.18, allocations: 9.844 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/1.18, allocations: 94.97 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.18, allocations: 192 / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.18, allocations: 5.969 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.18, allocations: 1.969 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/1.18, allocations: 39.33 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/1.181, allocations: 438.3 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/1.181, allocations: 45.52 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/1.181, allocations: 20.52 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/1.181, allocations: 1.531 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/1.181, allocations: 40.25 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/1.181, allocations: 3.984 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/1.181, allocations: 56.86 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/1.181, allocations: 78.45 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/1.181, allocations: 158.3 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/1.181, allocations: 26.58 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/1.181, allocations: 104.2 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-06/1.181, allocations: 5.516 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/1.181, allocations: 22.3 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/1.181, allocations: 323.8 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/1.181, allocations: 8.016 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/1.181, allocations: 20.25 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/1.181, allocations: 23.48 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.181, allocations: 0 / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.149e-05/1.181, allocations: 69.69 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.181, allocations: 5 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.181, allocations: 5.656 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.181, allocations: 0 / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/1.182, allocations: 6.922 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/1.182, allocations: 1.156 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/1.182, allocations: 5.969 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/1.182, allocations: 1.703 kB / 1.091 GB, free: 2.684 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 5.827e-05/1.182, allocations: 118.8 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/1.182, allocations: 8.219 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/1.182, allocations: 15.45 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.182, allocations: 1.859 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.182, allocations: 1.062 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.182, allocations: 1.094 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/1.182, allocations: 466.6 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.182, allocations: 4.062 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/1.182, allocations: 7.781 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.182, allocations: 1.219 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/1.182, allocations: 1.094 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.182, allocations: 4.547 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.182, allocations: 1.219 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/1.182, allocations: 84.36 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/1.182, allocations: 90.45 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/1.182, allocations: 1.719 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/1.182, allocations: 1.625 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/1.182, allocations: 1.688 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/1.182, allocations: 1.062 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.92e-05/1.182, allocations: 126 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.62e-07/1.182, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001844/1.183, allocations: 11.75 kB / 1.092 GB, free: 1.766 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.00011/1.183, allocations: 102 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.322e-05/1.183, allocations: 20.06 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.183, allocations: 0 / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/1.183, allocations: 8 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/1.183, allocations: 18.28 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/1.183, allocations: 168.9 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/1.183, allocations: 0.6963 MB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.372e-05/1.184, allocations: 6.438 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/1.184, allocations: 11.94 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.184, allocations: 0 / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.003007/1.187, allocations: 459.7 kB / 1.094 GB, free: 16.71 MB / 0.8731 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