Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.0009639/0.0009639, 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.0009809/0.0009809, 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 1.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.932/1.932, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.896e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.0021/0.002129, allocations: 0.8701 MB / 0.8124 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.002327, allocations: 56.34 kB / 0.8124 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.002398, allocations: 1.406 kB / 0.8124 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.869e-05/0.002447, allocations: 11.86 kB / 0.8124 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.181e-05/0.002539, allocations: 11.88 kB / 0.8125 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.253e-05/0.002621, allocations: 31.91 kB / 0.8125 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.002754, allocations: 80.98 kB / 0.8126 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.00291, allocations: 33.28 kB / 0.8126 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.003019, allocations: 47.89 kB / 0.8126 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.003082, allocations: 20.59 kB / 0.8127 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.00311, allocations: 11.94 kB / 0.8127 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.003123, allocations: 8.906 kB / 0.8127 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.003151, allocations: 23.91 kB / 0.8127 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.003198, allocations: 24.58 kB / 0.8127 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.003335, allocations: 59.69 kB / 0.8128 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003337, allocations: 5.969 kB / 0.8128 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003338, allocations: 0 / 0.8128 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.003343, allocations: 0 / 0.8128 GB, free: 0.7969 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004974/0.003841, allocations: 424.4 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.003889, allocations: 8.031 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.003951, allocations: 21.78 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.004194, allocations: 144.7 kB / 0.8134 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.004211, allocations: 5.531 kB / 0.8134 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.004229, allocations: 8.375 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.004402, allocations: 105.8 kB / 0.8135 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.004411, allocations: 0.75 kB / 0.8135 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.004424, allocations: 0 / 0.8135 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.004436, allocations: 4.781 kB / 0.8135 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.004524, allocations: 32.03 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.005065, allocations: 487.4 kB / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.005132, allocations: 54.19 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.005173, allocations: 25.33 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.005181, allocations: 3.938 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.005207, allocations: 33.39 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005208, allocations: 0 / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001855/0.005394, allocations: 50.81 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.005442, allocations: 77.11 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.005589, allocations: 201.3 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.005602, allocations: 26.52 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.005695, allocations: 170.8 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.005702, allocations: 1.625 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.005745, allocations: 27.33 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.005892, allocations: 496.1 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.005909, allocations: 4 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.005935, allocations: 27.36 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.005978, allocations: 36.78 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.005981, allocations: 0 / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.868e-05/0.006069, allocations: 47.8 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.006087, allocations: 4 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006092, allocations: 0 / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.006113, allocations: 7.984 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.006177, allocations: 8 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.006183, allocations: 0.9688 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.006206, allocations: 3.953 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.00621, allocations: 5.625 kB / 0.8152 GB, free: 14.05 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 8.357e-05/0.006294, allocations: 156.5 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.006334, allocations: 7.953 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.006364, allocations: 15.8 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006366, allocations: 0.5625 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.006369, allocations: 0.6875 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006372, allocations: 0 / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.00678, allocations: 0.5542 MB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.006783, allocations: 4.688 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.0068, allocations: 112 / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.006805, allocations: 8.938 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.006813, allocations: 4 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006814, allocations: 0.8125 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006816, allocations: 0 / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.535e-05/0.006901, allocations: 96.89 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.006927, allocations: 7.953 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.006939, allocations: 1.344 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.006954, allocations: 4 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.00697, allocations: 3.984 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.006974, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.894e-05/0.007052, allocations: 155.7 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007053, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002062/0.007259, allocations: 8.5 kB / 0.8162 GB, free: 12.95 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.355e-05/0.007352, allocations: 97.19 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.007453, allocations: 27.61 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.007455, allocations: 0 / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.007467, allocations: 12.53 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.007625, allocations: 5.5 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.007981, allocations: 194.4 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.008025, allocations: 59.34 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.008054, allocations: 4 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.008082, allocations: 16.48 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of SimCode: time 1.172e-06/0.008083, allocations: 0 / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.002497/0.01058, allocations: 358.9 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.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.208549601957202]