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.0009608/0.0009608, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001111/0.001111, allocations: 167.8 kB / 24.87 MB, free: 9.285 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 1.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.954/1.954, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 177] 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.744e-06/1.744e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.924e-05, allocations: 10.83 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001763/0.001792, allocations: 0.8049 MB / 0.8136 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001239/0.001916, allocations: 49.45 kB / 0.8136 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.001969, allocations: 4 kB / 0.8136 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.002003, allocations: 7.875 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.002091, allocations: 11.81 kB / 0.8136 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.36e-05/0.002134, allocations: 21.5 kB / 0.8137 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.002236, allocations: 67.83 kB / 0.8137 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.002355, allocations: 19.98 kB / 0.8138 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.002462, allocations: 49.42 kB / 0.8138 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.0025, allocations: 19.86 kB / 0.8138 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.002518, allocations: 4 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-06/0.002525, allocations: 8 kB / 0.8138 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.002546, allocations: 11.92 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.002572, allocations: 20.8 kB / 0.8139 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.684e-05/0.002658, allocations: 43.83 kB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002662, allocations: 0.7812 kB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002662, allocations: 0 / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.002666, allocations: 0.6875 kB / 0.8139 GB, free: 344 kB / 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.0003656/0.003032, allocations: 408.9 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.003068, allocations: 8.031 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.003101, allocations: 17.86 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.003232, allocations: 148.4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.003244, allocations: 8.312 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.003253, allocations: 9.75 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.003347, allocations: 77.52 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.003355, allocations: 192 / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.003364, allocations: 6.125 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.003371, allocations: 4.375 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.132e-05/0.003402, allocations: 27.8 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.003886, allocations: 0.7262 MB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.00399, allocations: 262.6 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.004034, allocations: 138.8 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.004068, allocations: 119.8 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.004117, allocations: 152.6 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.004118, allocations: 0.5 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.88e-05/0.004177, allocations: 34.22 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.004244, allocations: 170.6 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.004366, allocations: 206.5 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.004375, allocations: 25.7 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.004456, allocations: 175.7 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.004458, allocations: 4 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.004488, allocations: 27.36 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.004614, allocations: 0.4909 MB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.004621, allocations: 11.92 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.004663, allocations: 73.48 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.004813, allocations: 91.14 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004815, allocations: 0 / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001122/0.004927, allocations: 79.77 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.004943, allocations: 15.92 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004948, allocations: 0.8125 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.004961, allocations: 4 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.005012, allocations: 12.94 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.005016, allocations: 0 / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.00504, allocations: 13.11 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.005044, allocations: 4 kB / 0.8173 GB, free: 12.55 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 0.0001222/0.005167, allocations: 287.6 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.005218, allocations: 153.7 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.005307, allocations: 152.7 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/0.005363, allocations: 278.2 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.678e-05/0.00542, allocations: 264.1 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/0.005481, allocations: 284 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.005721, allocations: 488.5 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/0.005752, allocations: 144.9 kB / 0.8193 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.005786, allocations: 152.8 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.746e-05/0.005843, allocations: 267.1 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/0.005911, allocations: 272 kB / 0.8199 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.267e-05/0.005984, allocations: 272.1 kB / 0.8202 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.359e-05/0.006058, allocations: 268 kB / 0.8205 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.006349, allocations: 455.9 kB / 0.8209 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.006397, allocations: 160.8 kB / 0.821 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.006458, allocations: 264.1 kB / 0.8213 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.006515, allocations: 152.8 kB / 0.8214 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.006578, allocations: 269.8 kB / 0.8217 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.006612, allocations: 144.9 kB / 0.8218 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.006659, allocations: 144.5 kB / 0.822 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006659, allocations: 0 / 0.822 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001589/0.006818, allocations: 12.58 kB / 0.822 GB, free: 7.594 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 0.0001119/0.00693, allocations: 219.4 kB / 0.8222 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.007003, allocations: 42.05 kB / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007004, allocations: 0 / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.007005, allocations: 0 / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.007289, allocations: 0.7079 MB / 0.8229 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.007505, allocations: 270.9 kB / 0.8232 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.007536, allocations: 59.34 kB / 0.8232 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.00757, allocations: 10.47 kB / 0.8233 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.0076, allocations: 70.92 kB / 0.8233 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.007601, allocations: 0 / 0.8233 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.001823/0.009424, allocations: 338.5 kB / 0.8236 GB, free: 5.848 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.30738487187773]