Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001259/0.001259, allocations: 83.59 kB / 20.45 MB, free: 4.105 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.001599/0.001599, allocations: 169 kB / 23.82 MB, free: 0.7344 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.9984/0.9984, 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 2.039/2.039, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.105e-06/3.105e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.466e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002177/0.002212, allocations: 0.6682 MB / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.002453, allocations: 12.95 kB / 0.8123 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.002506, allocations: 3.938 kB / 0.8123 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.002644, allocations: 4 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.002702, allocations: 1.594 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.002856, allocations: 4 kB / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.003025, allocations: 51.83 kB / 0.8123 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.003163, allocations: 12.98 kB / 0.8123 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.003211, allocations: 19.98 kB / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.003251, allocations: 19.91 kB / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.003275, allocations: 4.781 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.003289, allocations: 4 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.003326, allocations: 5.688 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.003362, allocations: 11.94 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003481, allocations: 39.83 kB / 0.8124 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003484, allocations: 0 / 0.8124 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003485, allocations: 0 / 0.8124 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.003491, allocations: 1.531 kB / 0.8124 GB, free: 0.8125 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.0003672/0.003858, allocations: 368.6 kB / 0.8128 GB, free: 424 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.003904, allocations: 12.03 kB / 0.8128 GB, free: 412 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.003949, allocations: 8.891 kB / 0.8128 GB, free: 404 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.004112, allocations: 134.2 kB / 0.8129 GB, free: 244 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.004125, allocations: 4.375 kB / 0.813 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.004143, allocations: 8.375 kB / 0.813 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.004267, allocations: 54.17 kB / 0.813 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.004278, allocations: 0.8438 kB / 0.813 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.004288, allocations: 384 / 0.813 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.004299, allocations: 5.25 kB / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.004342, allocations: 23.88 kB / 0.813 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.004838, allocations: 0.5259 MB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.004957, allocations: 261.4 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.005014, allocations: 140.2 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.005054, allocations: 119.2 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.005114, allocations: 152.6 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.005115, allocations: 2.594 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.981e-05/0.005195, allocations: 37.64 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.005264, allocations: 170.6 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.005395, allocations: 173.9 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.005407, allocations: 25.7 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.005494, allocations: 150.7 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.005498, allocations: 4 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.005532, allocations: 15.91 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.00569, allocations: 0.4961 MB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.005706, allocations: 4.656 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.005716, allocations: 0.5312 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/0.005756, allocations: 13.45 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.005759, allocations: 3.938 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001197/0.005878, allocations: 37.66 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.005893, allocations: 4.5 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.005901, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.005918, allocations: 0.5938 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.00598, allocations: 8.766 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.005987, allocations: 320 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.006007, allocations: 4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.006018, allocations: 1.156 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 0.0001136/0.006131, allocations: 283.6 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.0062, allocations: 150.3 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.006265, allocations: 152.4 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.391e-05/0.006349, allocations: 272 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-05/0.006432, allocations: 268.2 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.901e-05/0.006521, allocations: 272.6 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.006757, allocations: 0.5048 MB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-05/0.006799, allocations: 148.9 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.006846, allocations: 152.8 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-05/0.006917, allocations: 265.1 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.007, allocations: 272 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.731e-05/0.007078, allocations: 264.1 kB / 0.8182 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.663e-05/0.007154, allocations: 269 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.007325, allocations: 459.8 kB / 0.8189 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.007376, allocations: 151 kB / 0.819 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.007463, allocations: 272.1 kB / 0.8193 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.007556, allocations: 148.9 kB / 0.8194 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.007635, allocations: 276 kB / 0.8197 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.007679, allocations: 144.9 kB / 0.8198 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.568e-05/0.007745, allocations: 139.2 kB / 0.82 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.007745, allocations: 2.781 kB / 0.82 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002743/0.008019, 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.0001613/0.00818, allocations: 214.4 kB / 0.8202 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.008266, allocations: 15.62 kB / 0.8202 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008269, allocations: 0 / 0.8202 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.00827, allocations: 1.5 kB / 0.8202 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.008774, allocations: 0.7138 MB / 0.8209 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.009109, allocations: 253.4 kB / 0.8211 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.918e-05/0.009159, allocations: 63.34 kB / 0.8212 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.00918, allocations: 0.5 kB / 0.8212 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.00921, allocations: 9 kB / 0.8212 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.009211, allocations: 5.344 kB / 0.8212 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of Templates: time 0.002562/0.01177, allocations: 321.7 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.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.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.48250200599432]