Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.0009522/0.0009522, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009867/0.0009867, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9791/0.9791, allocations: 177.1 MB / 204.2 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.951/1.951, allocations: 377.8 MB / 0.6236 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.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.596e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002366/0.002402, allocations: 0.777 MB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003587, allocations: 0.8821 MB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.003648, allocations: 0.7812 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.003698, allocations: 11.86 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.003819, allocations: 9.562 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.004042, allocations: 31.91 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.004178, allocations: 71.73 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.004329, allocations: 13.53 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.004459, allocations: 47.88 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.004536, allocations: 31.91 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.004568, allocations: 8 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.004582, allocations: 5.188 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.004608, allocations: 11.98 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.004646, allocations: 23.91 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.004786, allocations: 59.73 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004789, allocations: 1.594 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00479, allocations: 0 / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004795, allocations: 0 / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005213/0.005316, allocations: 395 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.005362, allocations: 12.03 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.005419, allocations: 8.891 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.005546, allocations: 116.5 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.005574, allocations: 8.375 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.005589, allocations: 4.375 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.005795, allocations: 87.5 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.005804, allocations: 192 / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.005818, allocations: 4.906 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.005827, allocations: 384 / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.757e-05/0.005905, allocations: 29.58 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.006369, allocations: 303.6 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.006522, allocations: 59.52 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.006574, allocations: 20.23 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.006592, allocations: 4.781 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.006627, allocations: 41.45 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.006629, allocations: 1.156 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002559/0.006885, allocations: 77.56 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.006921, allocations: 52.78 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.007293, allocations: 177.9 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.007309, allocations: 25.7 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.007368, allocations: 142.8 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.0074, allocations: 21.55 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.007445, allocations: 31.36 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.007581, allocations: 496.2 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.007625, allocations: 15.92 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.007655, allocations: 4.906 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.007736, allocations: 40.05 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007738, allocations: 0.8438 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001348/0.007873, allocations: 69.56 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.007887, allocations: 6.156 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007893, allocations: 0 / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.007909, allocations: 0 / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.008029, allocations: 15.98 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.008035, allocations: 0 / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.008082, allocations: 14.59 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.00809, allocations: 0 / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.997e-05/0.00817, allocations: 160.6 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.008204, allocations: 11.92 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.008232, allocations: 8.438 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008234, allocations: 0 / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008238, allocations: 0 / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.008242, allocations: 5.609 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.008401, allocations: 136.6 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008402, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.008481, allocations: 15.92 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.008485, allocations: 4.438 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.008496, allocations: 4 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.008499, allocations: 4.516 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.0085, allocations: 1.594 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.008689, allocations: 207.9 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.008703, allocations: 7.953 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.008723, allocations: 7.922 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.008799, allocations: 8.625 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.008867, allocations: 17.02 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.008874, allocations: 0 / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.054e-05/0.008934, allocations: 135.2 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008934, allocations: 3.688 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002661/0.0092, allocations: 15.94 kB / 0.8165 GB, free: 12.44 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 (6): * Single equations (assignments): 6 * 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.0001137/0.009314, allocations: 103.1 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.009465, allocations: 35.67 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.009468, allocations: 4 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.276e-05/0.009531, allocations: 31.61 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.009836, allocations: 22.48 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.01024, allocations: 162 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.01029, allocations: 59.34 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.633e-05/0.01034, allocations: 7.188 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.0104, allocations: 24.48 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of SimCode: time 1.062e-06/0.0104, allocations: 0 / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of Templates: time 0.004551/0.01495, allocations: 1.419 MB / 0.8183 GB, free: 10.55 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.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.250527218915522]