Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001219/0.001219, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001294/0.001294, allocations: 185 kB / 24.09 MB, free: 416 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.9663/0.9663, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.858/1.858, allocations: 377.9 MB / 0.6239 GB, free: 8.43 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.112e-05, allocations: 6.25 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002211/0.002242, allocations: 0.8138 MB / 0.8128 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000158/0.0024, allocations: 47.78 kB / 0.8129 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.002455, allocations: 2.438 kB / 0.8129 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.002495, allocations: 7.875 kB / 0.8129 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.073e-05/0.002585, allocations: 11.81 kB / 0.8129 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.209e-05/0.002637, allocations: 15.98 kB / 0.8129 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.002745, allocations: 71.81 kB / 0.813 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.002884, allocations: 23.98 kB / 0.813 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.003002, allocations: 45.33 kB / 0.813 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.003042, allocations: 11.98 kB / 0.813 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003061, allocations: 8 kB / 0.813 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.00307, allocations: 7.938 kB / 0.8131 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.00309, allocations: 9.484 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.00312, allocations: 19.92 kB / 0.8131 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.003234, allocations: 51.7 kB / 0.8131 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.003237, allocations: 0 / 0.8131 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003238, allocations: 0.5312 kB / 0.8131 GB, free: 344 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003243, allocations: 0 / 0.8131 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.0004104/0.003653, allocations: 408.8 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.003701, allocations: 9.031 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.003737, allocations: 12.89 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.003878, allocations: 140.5 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.003891, allocations: 9.062 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.003906, allocations: 12.84 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.004029, allocations: 81.5 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.004036, allocations: 1.562 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.004047, allocations: 4.375 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.004055, allocations: 4.375 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.004101, allocations: 32.94 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.004658, allocations: 0.7263 MB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.529e-05/0.004753, allocations: 265.4 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.004794, allocations: 131.8 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.004827, allocations: 119.2 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.004875, allocations: 153.5 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.004877, allocations: 0 / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.456e-05/0.004941, allocations: 38.75 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.004996, allocations: 170.6 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.005127, allocations: 207.5 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.005136, allocations: 26.58 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.005226, allocations: 178.4 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.005228, allocations: 1.562 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.005267, allocations: 27.36 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.005409, allocations: 0.4884 MB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.005423, allocations: 4 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.005477, allocations: 86.58 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.043e-05/0.005558, allocations: 92.52 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.00556, allocations: 0 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001402/0.0057, allocations: 83.89 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.005718, allocations: 8 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.005726, allocations: 3.984 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.005741, allocations: 4 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.005804, allocations: 15.94 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.00581, allocations: 5.562 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.005847, allocations: 7.891 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005853, allocations: 4 kB / 0.8166 GB, free: 12.54 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.0001164/0.00597, allocations: 284.7 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.006039, allocations: 156.8 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.006101, allocations: 152.7 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.89e-05/0.00618, allocations: 268.9 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.368e-05/0.006264, allocations: 272 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.991e-05/0.006354, allocations: 276.8 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.006603, allocations: 492.4 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-05/0.006647, allocations: 144.9 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.006698, allocations: 154.1 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.334e-05/0.006781, allocations: 264.1 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/0.006868, allocations: 264.1 kB / 0.8192 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-05/0.006957, allocations: 280.8 kB / 0.8194 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-05/0.007041, allocations: 264.1 kB / 0.8197 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.007212, allocations: 454.3 kB / 0.8201 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.007286, allocations: 160.8 kB / 0.8203 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.007373, allocations: 272 kB / 0.8205 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.007458, allocations: 148.9 kB / 0.8207 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.007547, allocations: 272.3 kB / 0.8209 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.007592, allocations: 144.9 kB / 0.8211 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.007663, allocations: 140.7 kB / 0.8212 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007663, allocations: 2.969 kB / 0.8212 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002673/0.00793, allocations: 11.95 kB / 0.8212 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.0001429/0.008073, allocations: 218.4 kB / 0.8214 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.303e-05/0.008156, allocations: 40.52 kB / 0.8215 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.008158, allocations: 3.938 kB / 0.8215 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.008159, allocations: 3.938 kB / 0.8215 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.00858, allocations: 0.7072 MB / 0.8222 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.008867, allocations: 269.7 kB / 0.8224 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.008909, allocations: 60.44 kB / 0.8225 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.037e-05/0.00895, allocations: 11 kB / 0.8225 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.008991, allocations: 70.2 kB / 0.8226 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.008992, allocations: 0 / 0.8226 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of Templates: time 0.002407/0.0114, allocations: 332.3 kB / 0.8229 GB, free: 5.844 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.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: 4.990811098832637]