Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001017/0.001017, 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.001645/0.001645, allocations: 181 kB / 24.09 MB, free: 420 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.9912/0.9912, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.881/1.881, allocations: 377.9 MB / 0.6239 GB, free: 8.426 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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.837e-06/3.837e-06, allocations: 0 / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.699e-05/4.083e-05, allocations: 3.078 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002433/0.002474, allocations: 0.7132 MB / 0.8128 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.003712, allocations: 0.8517 MB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.00376, allocations: 0 / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.003794, allocations: 3.938 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.72e-05/0.003891, allocations: 5.625 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.31e-05/0.003964, allocations: 11.98 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.004055, allocations: 47.84 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.004166, allocations: 5.531 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.004276, allocations: 31.91 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.004321, allocations: 11.98 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.004342, allocations: 4 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.004351, allocations: 5.125 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.004374, allocations: 11.92 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.004401, allocations: 11.98 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.004507, allocations: 33.25 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00451, allocations: 0 / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004511, allocations: 0 / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.004516, allocations: 0 / 0.8138 GB, free: 15.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004758/0.004992, allocations: 377.1 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.005039, allocations: 8.75 kB / 0.8141 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.005074, allocations: 8.891 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.005172, allocations: 113.1 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.00519, allocations: 9.906 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.005203, allocations: 12.36 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.005358, allocations: 58.94 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.005366, allocations: 192 / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.005374, allocations: 1 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.00538, allocations: 1.219 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.725e-05/0.005408, allocations: 7.938 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.005716, allocations: 248.9 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.582e-05/0.005792, allocations: 35.69 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.005814, allocations: 11.78 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.005826, allocations: 8.625 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.005851, allocations: 34.77 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.005853, allocations: 0 / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000151/0.006004, allocations: 49.58 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.006038, allocations: 59.39 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.006131, allocations: 167.7 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.006144, allocations: 25.7 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.006206, allocations: 134.8 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.006228, allocations: 11.95 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.006263, allocations: 15.38 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.006411, allocations: 0.4945 MB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.00643, allocations: 0 / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.006445, allocations: 4 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.006483, allocations: 15.69 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006485, allocations: 0 / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.602e-05/0.006571, allocations: 49.58 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.006584, allocations: 11.88 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00659, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.006605, allocations: 3.938 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.006696, allocations: 11.98 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.006699, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.006731, allocations: 4 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006738, allocations: 4 kB / 0.8157 GB, free: 13.5 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 (3): * Single equations (assignments): 3 * 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.858e-05/0.006816, allocations: 156.6 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.006841, allocations: 5.031 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.006867, allocations: 7.984 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.00687, allocations: 4.438 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.006872, allocations: 0 / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.006876, allocations: 0.5625 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.007012, allocations: 109.8 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007014, allocations: 0 / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.007061, allocations: 9.062 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007064, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.00707, allocations: 4.875 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007071, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007073, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.007219, allocations: 202 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/0.007227, allocations: 4 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.007239, allocations: 3.984 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.007302, allocations: 4 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.007339, allocations: 7.922 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.007344, allocations: 4.812 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.007391, allocations: 131.5 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007391, allocations: 0 / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002304/0.007622, allocations: 4.938 kB / 0.8163 GB, free: 12.8 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 (3): * Single equations (assignments): 3 * 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.0001198/0.007741, allocations: 100.5 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.296e-05/0.007824, allocations: 20 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007826, allocations: 0 / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.007856, allocations: 20.72 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.008136, allocations: 16.94 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.008452, allocations: 139.2 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.008501, allocations: 67.22 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.008534, allocations: 1.031 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.0086, allocations: 71.33 kB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.008601, allocations: 0 / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.004534/0.01313, allocations: 0.7992 MB / 0.8175 GB, free: 11.55 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.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.08706764690578]