Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 83.59 kB / 20.45 MB, free: 4.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009813/0.0009813, allocations: 165 kB / 23.82 MB, free: 0.7383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9523/0.9523, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.073e-05, allocations: 6.609 kB / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001424/0.001445, allocations: 0.8347 MB / 0.8124 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000125/0.00157, allocations: 41.31 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.001621, allocations: 0 / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.001664, allocations: 11.81 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.001757, allocations: 20.67 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.525e-05/0.001802, allocations: 15.98 kB / 0.8125 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.001897, allocations: 61.47 kB / 0.8125 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.002029, allocations: 31.97 kB / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.00214, allocations: 39.91 kB / 0.8126 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.002182, allocations: 19.91 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.002204, allocations: 5.531 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.002213, allocations: 8 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.002233, allocations: 11.92 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.002261, allocations: 15.94 kB / 0.8126 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/0.002356, allocations: 44.86 kB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.002358, allocations: 0 / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002358, allocations: 0 / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.002363, allocations: 5.5 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 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.0003902/0.002753, allocations: 416.2 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.002797, allocations: 8.031 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.002844, allocations: 13.61 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.003022, allocations: 136.5 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.003034, allocations: 8.906 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.003047, allocations: 8.375 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.003176, allocations: 91.05 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.003186, allocations: 4.188 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.003196, allocations: 384 / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.003204, allocations: 384 / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.003248, allocations: 40.41 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.003761, allocations: 0.7421 MB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.004008, allocations: 261.4 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.004045, allocations: 139.6 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.00407, allocations: 119.7 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.00411, allocations: 152.6 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.004111, allocations: 0.7812 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.791e-05/0.004169, allocations: 39.06 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.004221, allocations: 174.5 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.00434, allocations: 200 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.004348, allocations: 25.7 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.004416, allocations: 184.2 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.004418, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.004447, allocations: 23.38 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.004569, allocations: 0.4923 MB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.004581, allocations: 4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.004621, allocations: 80.67 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/0.004685, allocations: 85.38 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.004688, allocations: 1.188 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001174/0.004805, allocations: 90.59 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.004818, allocations: 8.906 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.004822, allocations: 0 / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.004838, allocations: 8.969 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/0.004891, allocations: 12 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.004898, allocations: 7.875 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.004922, allocations: 14.33 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.004927, allocations: 4.156 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.655e-05/0.005013, allocations: 283.7 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.00506, allocations: 156.8 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.005103, allocations: 152.7 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.537e-05/0.005158, allocations: 264.1 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.688e-05/0.005225, allocations: 284.5 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-05/0.005283, allocations: 276.9 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.00545, allocations: 0.5076 MB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-05/0.005483, allocations: 145.8 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.005516, allocations: 144.9 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.485e-05/0.005571, allocations: 272 kB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.005628, allocations: 265.3 kB / 0.8188 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.076e-05/0.005689, allocations: 272 kB / 0.819 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.349e-05/0.005753, allocations: 276.1 kB / 0.8193 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.005872, allocations: 448.8 kB / 0.8197 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.005917, allocations: 156.8 kB / 0.8199 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.005982, allocations: 274.2 kB / 0.8201 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.006034, allocations: 148.9 kB / 0.8203 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.0061, allocations: 264.4 kB / 0.8205 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.006146, allocations: 156.8 kB / 0.8207 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.0062, allocations: 144.4 kB / 0.8208 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0062, allocations: 0 / 0.8208 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001512/0.006351, allocations: 12.95 kB / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.746e-05/0.006448, allocations: 219.5 kB / 0.8211 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.62e-05/0.006535, allocations: 32.77 kB / 0.8211 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.006536, allocations: 0 / 0.8211 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.006538, allocations: 3.938 kB / 0.8211 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.006981, allocations: 0.7087 MB / 0.8218 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.007266, allocations: 269.7 kB / 0.822 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.007305, allocations: 65.08 kB / 0.8221 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.007342, allocations: 11.56 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.007364, allocations: 12.5 kB / 0.8221 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.007364, allocations: 3.938 kB / 0.8221 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of Templates: time 0.00202/0.009384, allocations: 310.9 kB / 0.8224 GB, free: 6.102 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0764636979438365]