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.0009253/0.0009253, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009826/0.0009826, allocations: 165 kB / 24.17 MB, free: 328 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.9972/0.9972, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.989/1.989, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.372e-06/1.372e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.838e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001238/0.001256, allocations: 0.6698 MB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001632/0.001419, allocations: 15.88 kB / 0.7608 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.001458, allocations: 2.062 kB / 0.7608 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.001566, allocations: 8.578 kB / 0.7608 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.001606, allocations: 5.422 kB / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.304e-05/0.001669, allocations: 0 / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.001748, allocations: 31.47 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.001871, allocations: 17.58 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.001915, allocations: 21.84 kB / 0.7608 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.00195, allocations: 17.61 kB / 0.7609 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.001973, allocations: 4 kB / 0.7609 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/0.001982, allocations: 0.75 kB / 0.7609 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.002012, allocations: 6.516 kB / 0.7609 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.002039, allocations: 15.55 kB / 0.7609 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.633e-05/0.002126, allocations: 35.06 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002127, allocations: 1.203 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002128, allocations: 0 / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.002131, allocations: 1.25 kB / 0.7609 GB, free: 5.773 MB / 0.7136 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.0002454/0.002377, allocations: 244.9 kB / 0.7612 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.002407, allocations: 13 kB / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.002433, allocations: 6.188 kB / 0.7612 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.002549, allocations: 121.6 kB / 0.7613 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.002559, allocations: 4.375 kB / 0.7613 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.002571, allocations: 4.375 kB / 0.7613 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.257e-05/0.002663, allocations: 58.56 kB / 0.7613 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.002671, allocations: 1.688 kB / 0.7614 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.002681, allocations: 8.359 kB / 0.7614 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.002687, allocations: 6.031 kB / 0.7614 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.002707, allocations: 15.88 kB / 0.7614 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.003005, allocations: 341.7 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.577e-05/0.00307, allocations: 181 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.003099, allocations: 81.11 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.003119, allocations: 79.28 kB / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.003157, allocations: 105.8 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.003157, allocations: 1.312 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.703e-05/0.003204, allocations: 25.7 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.003258, allocations: 135.3 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.003328, allocations: 111.4 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.003336, allocations: 25.7 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.003384, allocations: 104.7 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.003386, allocations: 4 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.003411, allocations: 10.58 kB / 0.7625 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004329/0.003844, allocations: 322.8 kB / 0.7628 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-06/0.003852, allocations: 2.188 kB / 0.7628 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.003859, allocations: 3.984 kB / 0.7628 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.003887, allocations: 8.859 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.003892, allocations: 3.938 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.345e-05/0.003955, allocations: 36.7 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.003966, allocations: 4 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.00397, allocations: 0 / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.003981, allocations: 0 / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.004021, allocations: 7.984 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.004025, allocations: 0 / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.004043, allocations: 4 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.004051, allocations: 0 / 0.7629 GB, free: 3.586 MB / 0.7136 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 7.236e-05/0.004123, allocations: 195 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.00416, allocations: 101 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.004202, allocations: 120.4 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/0.004242, allocations: 176.3 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.961e-05/0.004282, allocations: 180.3 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-05/0.004324, allocations: 184.2 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.00447, allocations: 333.4 kB / 0.7641 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/0.004496, allocations: 104.9 kB / 0.7642 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.004522, allocations: 106.8 kB / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.145e-05/0.004563, allocations: 180.2 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.004605, allocations: 188.2 kB / 0.7647 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.991e-05/0.004645, allocations: 176.3 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.543e-05/0.0047, allocations: 184.2 kB / 0.765 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.391e-05/0.004794, allocations: 306.8 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.004828, allocations: 108.9 kB / 0.7654 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.004885, allocations: 188.2 kB / 0.7656 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.004958, allocations: 104.9 kB / 0.7657 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.005013, allocations: 180.3 kB / 0.7659 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.005049, allocations: 108.9 kB / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.005076, allocations: 12.86 kB / 0.766 GB, free: 252 kB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.005076, allocations: 0 / 0.766 GB, free: 252 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002039/0.00528, allocations: 10.69 kB / 0.766 GB, free: 244 kB / 0.7136 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.0001183/0.005399, allocations: 151.7 kB / 0.7662 GB, free: 84 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.642e-05/0.005455, allocations: 16.78 kB / 0.7662 GB, free: 64 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.005459, allocations: 0 / 0.7662 GB, free: 64 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.005461, allocations: 0 / 0.7662 GB, free: 64 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.005697, allocations: 461.2 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.005896, allocations: 215.6 kB / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.005927, allocations: 59.34 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.486e-05/0.005942, allocations: 0 / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.005978, allocations: 56.64 kB / 0.7669 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.005979, allocations: 0 / 0.7669 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.00162/0.007599, allocations: 332.6 kB / 0.7672 GB, free: 14.93 MB / 0.7292 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.205790305975825]