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.0009523/0.0009523, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000961/0.000961, allocations: 161 kB / 23.82 MB, free: 0.75 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.9732/0.9732, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.836/1.836, allocations: 377.9 MB / 0.6236 GB, free: 8.516 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.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.627e-06/3.627e-06, allocations: 0 / 0.8116 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.85e-05/4.213e-05, allocations: 4.844 kB / 0.8116 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002322/0.002365, allocations: 0.7102 MB / 0.8123 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003585, allocations: 0.8553 MB / 0.8131 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.003635, allocations: 1.375 kB / 0.8131 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.003682, allocations: 3.938 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.003778, allocations: 3.938 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.091e-05/0.003858, allocations: 12.67 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.003973, allocations: 47.92 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.004079, allocations: 4.906 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.004179, allocations: 31.91 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.004223, allocations: 12.64 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.004248, allocations: 4 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.004256, allocations: 4.688 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.00428, allocations: 11.84 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.004311, allocations: 13.23 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.924e-05/0.00441, allocations: 27.91 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004413, allocations: 0 / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.754e-06/0.004415, allocations: 2.125 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.00442, allocations: 0 / 0.8133 GB, free: 15.88 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.0004967/0.004917, allocations: 380.5 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.004966, allocations: 8.031 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.005012, allocations: 8.891 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.005118, allocations: 117.4 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.005131, allocations: 384 / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.005145, allocations: 8.312 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.00532, allocations: 64.47 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.005329, allocations: 192 / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.00534, allocations: 384 / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.00535, allocations: 1.406 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.005393, allocations: 15.94 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.005806, allocations: 256.5 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.005925, allocations: 42.98 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.005963, allocations: 12.78 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.005977, allocations: 0 / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.006013, allocations: 33.39 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.006014, allocations: 1.5 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002332/0.006247, allocations: 53.7 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.006295, allocations: 55.34 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.006429, allocations: 170.5 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.006451, allocations: 29.7 kB / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.006536, allocations: 131.4 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.006573, allocations: 16.42 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.006624, allocations: 19.36 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.006809, allocations: 0.4892 MB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.006842, allocations: 0 / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.006865, allocations: 4.906 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.006923, allocations: 23.61 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.006926, allocations: 0.5312 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001165/0.007043, allocations: 45.59 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.007066, allocations: 11.97 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.007074, allocations: 4 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.007094, allocations: 3.984 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.007211, allocations: 9.281 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.007218, allocations: 320 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.007255, allocations: 7.984 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007263, allocations: 0.6562 kB / 0.8153 GB, free: 13.69 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 0.0001091/0.007372, allocations: 157.3 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.007406, allocations: 4 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.007448, allocations: 13.44 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.007453, allocations: 4 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.007458, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007463, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.00762, allocations: 117.5 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.007624, allocations: 8 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.007688, allocations: 8.828 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.007692, allocations: 4 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.007702, allocations: 0 / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.007706, allocations: 5.281 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.00771, allocations: 3.984 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.007906, allocations: 195.8 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.007918, allocations: 4.562 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.007933, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.008003, allocations: 12.55 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.008054, allocations: 9.797 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.008062, allocations: 4 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.008118, allocations: 123.2 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.008118, allocations: 0 / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002458/0.008364, allocations: 12 kB / 0.8159 GB, free: 12.96 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.0001209/0.008485, allocations: 92.12 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.008604, allocations: 27.08 kB / 0.816 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.008606, allocations: 0 / 0.816 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.008639, allocations: 16.16 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.008952, allocations: 23.8 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.009375, allocations: 126.3 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.009428, allocations: 59.94 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.009461, allocations: 1.781 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.0095, allocations: 12.5 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.009501, allocations: 0 / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.003402/0.0129, allocations: 0.795 MB / 0.817 GB, free: 11.78 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.012038895860314]