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.001428/0.001428, 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.001463/0.001463, 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.9734/0.9734, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.904/1.904, allocations: 377.8 MB / 0.6236 GB, free: 8.508 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 2.445e-06/2.445e-06, allocations: 0 / 0.8116 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.96e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00157/0.001599, allocations: 0.7152 MB / 0.8123 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.002442, allocations: 0.8443 MB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.00247, allocations: 4 kB / 0.8131 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002497, allocations: 4.844 kB / 0.8131 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.002553, allocations: 7.875 kB / 0.8131 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.572e-05/0.002609, allocations: 12.64 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.433e-05/0.002693, allocations: 51.83 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.002774, allocations: 4.875 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.00285, allocations: 27.92 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.002884, allocations: 17.22 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.0029, allocations: 4 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-06/0.002906, allocations: 4 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.002922, allocations: 5.562 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.002947, allocations: 15.92 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.144e-05/0.003018, allocations: 27.89 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00302, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003021, allocations: 4 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.003025, allocations: 1.406 kB / 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.0003154/0.00334, allocations: 372.6 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.003373, allocations: 9.562 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.0034, allocations: 12.89 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.371e-05/0.003473, allocations: 124.4 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.003481, allocations: 384 / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.003491, allocations: 384 / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.003604, allocations: 67.69 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003611, allocations: 1.156 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.00362, allocations: 384 / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.003626, allocations: 384 / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.003657, allocations: 12.45 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.003909, allocations: 268.5 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.498e-05/0.003974, allocations: 32.31 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.003998, allocations: 19.77 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.004006, allocations: 0 / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.004025, allocations: 38.02 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 5.41e-07/0.004026, allocations: 0 / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001234/0.004149, allocations: 54.69 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.004174, allocations: 51.41 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.004241, allocations: 165.9 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.00425, allocations: 26.52 kB / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.004293, allocations: 138.8 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.004309, allocations: 8.609 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.004334, allocations: 19.38 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.00446, allocations: 0.4896 MB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.004478, allocations: 4 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.004491, allocations: 4 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.004519, allocations: 13.5 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.004521, allocations: 0 / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.086e-05/0.004581, allocations: 53.58 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.004596, allocations: 7.938 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.004601, allocations: 0 / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.004617, allocations: 2.281 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.004684, allocations: 11.98 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.004687, allocations: 320 / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.004709, allocations: 4 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.004715, allocations: 4 kB / 0.8153 GB, free: 13.7 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 6.513e-05/0.00478, allocations: 164 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.004794, allocations: 4 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.004819, allocations: 15.88 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.00482, allocations: 336 / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.004824, allocations: 0 / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.004826, allocations: 0 / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.004929, allocations: 124.6 kB / 0.8155 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.004931, allocations: 3.984 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.004958, allocations: 11.98 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.00496, allocations: 0.5938 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.004966, allocations: 0.5 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.00497, allocations: 11.86 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.00497, allocations: 4.562 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.005077, allocations: 192.5 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.005083, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.005092, allocations: 1.406 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.005131, allocations: 15.92 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.005166, allocations: 4 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.005168, allocations: 0.5312 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.005211, allocations: 131.2 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005211, allocations: 0.625 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001332/0.005344, allocations: 5.969 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 7.473e-05/0.005419, allocations: 99.25 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.005497, allocations: 23.61 kB / 0.816 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.005499, allocations: 0 / 0.816 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.977e-05/0.005519, allocations: 12.5 kB / 0.816 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.0001729/0.005691, allocations: 20.88 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.0002352/0.005927, allocations: 139.5 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.00596, allocations: 55.36 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.005978, allocations: 4.859 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.006005, allocations: 9.938 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.006005, allocations: 0 / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.002174/0.00818, allocations: 0.7498 MB / 0.817 GB, free: 11.83 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.30355096841231]