Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001379/0.001379, 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.001039/0.001039, 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.9834/0.9834, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.888/1.888, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.329e-05, allocations: 5.125 kB / 0.8116 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001456/0.001489, allocations: 0.6809 MB / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001898/0.001679, allocations: 11.98 kB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.001725, allocations: 3.938 kB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.001846, allocations: 3.984 kB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.00189, allocations: 4 kB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.182e-05/0.001962, allocations: 0.5312 kB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.002053, allocations: 28.89 kB / 0.8123 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.002191, allocations: 15.98 kB / 0.8123 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.00223, allocations: 27.91 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.002259, allocations: 13.05 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.002282, allocations: 4 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.002294, allocations: 4 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.002323, allocations: 5.344 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.002351, allocations: 15.94 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.002443, allocations: 35.83 kB / 0.8124 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.002447, allocations: 4 kB / 0.8124 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002448, allocations: 0.875 kB / 0.8124 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.002453, allocations: 0 / 0.8124 GB, free: 0.8047 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004207/0.002874, allocations: 377.5 kB / 0.8128 GB, free: 408 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.002914, allocations: 8.031 kB / 0.8128 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.002957, allocations: 8.891 kB / 0.8128 GB, free: 392 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.003089, allocations: 125 kB / 0.8129 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.003101, allocations: 5 kB / 0.8129 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.003111, allocations: 8.375 kB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.00322, allocations: 55.42 kB / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.00323, allocations: 192 / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.00324, allocations: 384 / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.003248, allocations: 2.812 kB / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.00328, allocations: 19.94 kB / 0.813 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.003699, allocations: 0.5332 MB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.009e-05/0.003789, allocations: 261.4 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.003824, allocations: 126.9 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.003852, allocations: 123.3 kB / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.0039, allocations: 165 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.003902, allocations: 0 / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.909e-05/0.003961, allocations: 30.97 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.00402, allocations: 174.6 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.00412, allocations: 173.9 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.00413, allocations: 26.23 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.004192, allocations: 146.8 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.004195, allocations: 0.875 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.004221, allocations: 19.38 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.004331, allocations: 0.493 MB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.004343, allocations: 4 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.00435, allocations: 0.5312 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.004383, allocations: 17 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004385, allocations: 0 / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.901e-05/0.004484, allocations: 34.81 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.004498, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.004502, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.004515, allocations: 3.984 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.004568, allocations: 0.7812 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.004573, allocations: 4.312 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.004586, allocations: 0.5938 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.004595, allocations: 4.719 kB / 0.8153 GB, free: 13.68 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 (1): * Single equations (assignments): 1 * 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.381e-05/0.004679, allocations: 276.9 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.004725, allocations: 156.8 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.004775, allocations: 152.3 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.643e-05/0.004831, allocations: 276 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-05/0.004888, allocations: 269.7 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-05/0.004943, allocations: 264.1 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.005114, allocations: 0.5115 MB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.005147, allocations: 148.9 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.005178, allocations: 156.2 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.365e-05/0.005232, allocations: 264.1 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.005284, allocations: 264.1 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.359e-05/0.005338, allocations: 272 kB / 0.8182 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-05/0.005395, allocations: 276.1 kB / 0.8184 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.005516, allocations: 455.8 kB / 0.8189 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.005555, allocations: 148.9 kB / 0.819 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.00562, allocations: 272 kB / 0.8193 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.005673, allocations: 148.9 kB / 0.8194 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.005732, allocations: 276.5 kB / 0.8197 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.005844, allocations: 150.8 kB / 0.8198 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.005889, allocations: 131.2 kB / 0.82 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005889, allocations: 0 / 0.82 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001444/0.006034, allocations: 7.938 kB / 0.82 GB, free: 8.715 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 (0): * Single equations (assignments): 0 * 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.0001169/0.006151, allocations: 219.8 kB / 0.8202 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.006226, allocations: 11.62 kB / 0.8202 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.006228, allocations: 0 / 0.8202 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.006231, allocations: 5.219 kB / 0.8202 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.006562, allocations: 0.7061 MB / 0.8209 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.006811, allocations: 249.9 kB / 0.8211 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.006847, allocations: 63.34 kB / 0.8212 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.661e-05/0.006864, allocations: 4.906 kB / 0.8212 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.006887, allocations: 8.5 kB / 0.8212 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of SimCode: time 8.71e-07/0.006887, allocations: 0.8438 kB / 0.8212 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of Templates: time 0.00194/0.008827, allocations: 329 kB / 0.8215 GB, free: 7.082 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.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.089400785043836]