Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001437/0.001437, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001469/0.001469, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9254/0.9254, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.8 MB / 0.6239 GB, free: 8.57 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.04e-05, allocations: 8.922 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001858/0.001888, allocations: 0.8089 MB / 0.8123 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.002007, allocations: 40.81 kB / 0.8124 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.002059, allocations: 3.938 kB / 0.8124 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.002097, allocations: 16.64 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.002175, allocations: 7.922 kB / 0.8124 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.254e-05/0.002228, allocations: 21.67 kB / 0.8124 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.52e-05/0.002323, allocations: 55.84 kB / 0.8125 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.00246, allocations: 31.97 kB / 0.8125 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.445e-05/0.002534, allocations: 43.83 kB / 0.8125 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.002589, allocations: 15.92 kB / 0.8126 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.002611, allocations: 9.469 kB / 0.8126 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.002619, allocations: 8 kB / 0.8126 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.002645, allocations: 19.91 kB / 0.8126 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.002674, allocations: 15.94 kB / 0.8126 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.962e-05/0.002774, allocations: 41.42 kB / 0.8126 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.002777, allocations: 0 / 0.8126 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.453e-06/0.002779, allocations: 0 / 0.8126 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.002783, allocations: 0 / 0.8126 GB, free: 0.9414 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.000384/0.003167, allocations: 413.9 kB / 0.813 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.003209, allocations: 8.031 kB / 0.813 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.003251, allocations: 12.89 kB / 0.8131 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.00342, allocations: 140.4 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.003431, allocations: 8.906 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.003445, allocations: 8.906 kB / 0.8132 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.003565, allocations: 92.33 kB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.003572, allocations: 1.031 kB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.003583, allocations: 384 / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.003592, allocations: 9.453 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.003638, allocations: 35.8 kB / 0.8133 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.00407, allocations: 459.7 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.004126, allocations: 58.31 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.004158, allocations: 23.44 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-06/0.004166, allocations: 1.75 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.004189, allocations: 33.39 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.00419, allocations: 0 / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.00434, allocations: 54.77 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.004381, allocations: 81.05 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.004498, allocations: 193.1 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.004508, allocations: 26.2 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.004572, allocations: 155.2 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.004581, allocations: 13.48 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.00461, allocations: 23.38 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.004742, allocations: 0.4884 MB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.004757, allocations: 4 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.004776, allocations: 19.38 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.004815, allocations: 25.97 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.004817, allocations: 4 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.533e-05/0.004883, allocations: 53.58 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.0049, allocations: 8 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.004905, allocations: 0.7188 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.004917, allocations: 0 / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.00498, allocations: 4.531 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.004988, allocations: 8.438 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.005003, allocations: 1.031 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005008, allocations: 3.938 kB / 0.815 GB, free: 14.27 MB / 0.7761 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 7.215e-05/0.00508, allocations: 164.6 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.005102, allocations: 4.906 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.005123, allocations: 3.469 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005125, allocations: 0.8438 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.005131, allocations: 4 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.005136, allocations: 6.094 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.005451, allocations: 0.546 MB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.005453, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.005472, allocations: 7.938 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.005474, allocations: 0 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.005485, allocations: 10.59 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.005489, allocations: 4 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00549, allocations: 0 / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.005557, allocations: 92.02 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.005573, allocations: 0 / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.005586, allocations: 7.938 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/0.005594, allocations: 1.625 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.00561, allocations: 3.984 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.005615, allocations: 4 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.005664, allocations: 135.2 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005664, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001251/0.005789, allocations: 16.98 kB / 0.816 GB, free: 13.19 MB / 0.7761 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 9.706e-05/0.005886, allocations: 96.31 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.65e-05/0.005972, allocations: 27.61 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.005974, allocations: 0.7812 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.005984, allocations: 13.56 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.006114, allocations: 10.06 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.006426, allocations: 166.7 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.226e-05/0.006469, allocations: 59.34 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.006496, allocations: 5.328 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.00652, allocations: 12.5 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.006521, allocations: 0.8438 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.002085/0.008606, allocations: 347.6 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.1645283189136535]