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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 184.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.000895, allocations: 105.4 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.169e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.378, allocations: 148.1 MB / 1.351 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.378, allocations: 68.19 kB / 1.351 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003042/1.381, allocations: 1.083 MB / 1.352 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.381, allocations: 0 / 1.352 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.381, allocations: 0 / 1.352 GB, free: 33.83 MB / 0.8386 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.0003234/1.381, allocations: 360.3 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.381, allocations: 11.56 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/1.381, allocations: 10.75 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/1.382, allocations: 176.5 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.382, allocations: 3.906 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/1.382, allocations: 7.688 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.613e-05/1.382, allocations: 31.89 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/1.382, allocations: 83.16 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.382, allocations: 0 / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/1.382, allocations: 0 / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.382, allocations: 6.594 kB / 1.352 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/1.383, allocations: 413.6 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/1.383, allocations: 36.47 kB / 1.353 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/1.383, allocations: 20.19 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/1.383, allocations: 0 / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/1.383, allocations: 41.17 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/1.383, allocations: 0 / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000156/1.383, allocations: 43.25 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/1.383, allocations: 78.42 kB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/1.383, allocations: 116.1 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/1.383, allocations: 27.23 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/1.383, allocations: 108.2 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/1.383, allocations: 9.219 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/1.383, allocations: 0 / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.383, allocations: 314 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/1.383, allocations: 8.812 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/1.383, allocations: 22.56 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/1.383, allocations: 8.359 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.383, allocations: 0 / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.999e-05/1.383, allocations: 58.38 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.383, allocations: 5.156 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.383, allocations: 1.312 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.383, allocations: 1.172 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/1.383, allocations: 10.44 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.384, allocations: 2.781 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/1.384, allocations: 5.281 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/1.384, allocations: 1.312 kB / 1.354 GB, free: 32.01 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/1.384, allocations: 107.6 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/1.384, allocations: 10.42 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/1.384, allocations: 11.25 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/1.384, allocations: 2.781 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.384, allocations: 2.906 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.384, allocations: 5.297 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/1.384, allocations: 439.8 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.384, allocations: 5.375 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/1.384, allocations: 2.656 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.384, allocations: 1.25 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/1.384, allocations: 1.906 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/1.384, allocations: 1.25 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.384, allocations: 3.938 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.171e-05/1.384, allocations: 92.42 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/1.384, allocations: 82.69 kB / 1.354 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/1.384, allocations: 9.188 kB / 1.354 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/1.384, allocations: 0 / 1.354 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/1.384, allocations: 2.781 kB / 1.354 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/1.384, allocations: 1.312 kB / 1.354 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.169e-05/1.384, allocations: 99.61 kB / 1.354 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.384, allocations: 1.312 kB / 1.354 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001786/1.385, allocations: 11.59 kB / 1.354 GB, free: 31.16 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001095/1.385, allocations: 101.8 kB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.44e-05/1.385, allocations: 12.22 kB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.385, allocations: 1.25 kB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/1.385, allocations: 7.938 kB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/1.385, allocations: 8.578 kB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/1.385, allocations: 103.9 kB / 1.355 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/1.385, allocations: 0.6953 MB / 1.355 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.721e-05/1.386, allocations: 4.078 kB / 1.355 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/1.386, allocations: 10.09 kB / 1.355 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.386, allocations: 0 / 1.355 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.00198/1.388, allocations: 292.5 kB / 1.356 GB, free: 30.22 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches