Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001118/0.001118, 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.001028/0.001028, 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.9948/0.9948, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.935/1.935, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.556e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002343/0.002379, allocations: 0.8759 MB / 0.8124 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001751/0.002554, allocations: 51.77 kB / 0.8124 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.002622, allocations: 4.656 kB / 0.8124 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.749e-05/0.002669, allocations: 15.8 kB / 0.8125 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.002756, allocations: 8.688 kB / 0.8125 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.896e-05/0.002825, allocations: 19.98 kB / 0.8125 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.002959, allocations: 80.58 kB / 0.8126 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.003113, allocations: 41.27 kB / 0.8126 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.003207, allocations: 44.44 kB / 0.8126 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.003265, allocations: 31.83 kB / 0.8127 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.003293, allocations: 13.31 kB / 0.8127 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.003305, allocations: 8 kB / 0.8127 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.00333, allocations: 15.92 kB / 0.8127 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.003368, allocations: 23.92 kB / 0.8127 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003494, allocations: 64.84 kB / 0.8128 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003496, allocations: 0 / 0.8128 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003498, allocations: 0 / 0.8128 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.003502, allocations: 1.219 kB / 0.8128 GB, free: 0.7773 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.0004693/0.003972, allocations: 420.4 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.004019, allocations: 9.219 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.004076, allocations: 20.84 kB / 0.8132 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.004287, allocations: 144.6 kB / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.004301, allocations: 8.562 kB / 0.8134 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.004319, allocations: 13.12 kB / 0.8134 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.004483, allocations: 95.25 kB / 0.8135 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.004492, allocations: 7.938 kB / 0.8135 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.004522, allocations: 4.078 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.004531, allocations: 0 / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.004605, allocations: 28.52 kB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.005353, allocations: 484.1 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.005415, allocations: 54.06 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.005454, allocations: 23.5 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.005462, allocations: 0 / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.005491, allocations: 43.16 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005492, allocations: 0 / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.005667, allocations: 49.59 kB / 0.8141 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.00571, allocations: 81.86 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.005845, allocations: 188.7 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.005859, allocations: 34.22 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.00595, allocations: 166.8 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.005957, allocations: 0.7188 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.005996, allocations: 27.86 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.006139, allocations: 0.4923 MB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.006154, allocations: 1.312 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.006181, allocations: 23.38 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.006225, allocations: 28.19 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.006227, allocations: 0 / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.634e-05/0.006313, allocations: 54.44 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.006331, allocations: 9.281 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.006337, allocations: 0 / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.006352, allocations: 0 / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.006414, allocations: 4 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.006422, allocations: 4.844 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.006448, allocations: 7.938 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.006452, allocations: 5.156 kB / 0.8152 GB, free: 14.04 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.312e-05/0.006535, allocations: 164.5 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.006577, allocations: 9.266 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.006603, allocations: 3.812 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006605, allocations: 96 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006609, allocations: 4 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.006614, allocations: 5.672 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.007014, allocations: 0.5576 MB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.007016, allocations: 112 / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.007036, allocations: 7.938 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007039, allocations: 2.656 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.007049, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007051, allocations: 0 / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.007054, allocations: 4 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.135e-05/0.007135, allocations: 91.95 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.007163, allocations: 11.95 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.007176, allocations: 0.5 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.007191, allocations: 1.062 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.007207, allocations: 0 / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007211, allocations: 4 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.893e-05/0.007289, allocations: 152.1 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.00729, allocations: 0 / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002305/0.00752, allocations: 8 kB / 0.8162 GB, free: 12.94 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 0.0001069/0.007627, allocations: 97.09 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.00772, allocations: 27.61 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007721, allocations: 0.8438 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.007733, allocations: 11.69 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.007916, allocations: 9.344 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.008298, allocations: 182.5 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.542e-05/0.008354, allocations: 65.94 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.00839, allocations: 4.656 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.008418, allocations: 9.156 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.008419, allocations: 0 / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of Templates: time 0.002803/0.01122, allocations: 354.9 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.263976104091853]