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.0009473/0.0009473, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001079/0.001079, allocations: 161 kB / 24.17 MB, free: 324 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 1.115/1.115, allocations: 177.1 MB / 204.6 MB, free: 5.469 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 2.012/2.012, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] 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.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 2.535e-06/2.535e-06, allocations: 0 / 0.7601 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.821e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002016/0.002044, allocations: 0.7252 MB / 0.7608 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001684/0.002213, allocations: 15.94 kB / 0.7608 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.002258, allocations: 2.828 kB / 0.7608 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.002361, allocations: 7.922 kB / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.002398, allocations: 0 / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.446e-05/0.002493, allocations: 4 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.00259, allocations: 44.81 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.002675, allocations: 21.33 kB / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.002711, allocations: 17.52 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.922e-05/0.00274, allocations: 17.72 kB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.002758, allocations: 4 kB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.002768, allocations: 6 kB / 0.761 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.002794, allocations: 9.641 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.002813, allocations: 6.297 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.392e-05/0.002897, allocations: 43.22 kB / 0.761 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002899, allocations: 2.234 kB / 0.761 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.0029, allocations: 0 / 0.761 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.002904, allocations: 0 / 0.761 GB, free: 5.625 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.0002321/0.003136, allocations: 242.9 kB / 0.7613 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.00317, allocations: 8.031 kB / 0.7613 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.0032, allocations: 8.922 kB / 0.7613 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.003313, allocations: 122.4 kB / 0.7614 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.003322, allocations: 5.25 kB / 0.7614 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.003328, allocations: 0.9062 kB / 0.7614 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.003415, allocations: 61.66 kB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003421, allocations: 1.031 kB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.003428, allocations: 384 / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.003434, allocations: 10.55 kB / 0.7615 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.003454, allocations: 11.94 kB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.003721, allocations: 349.2 kB / 0.7618 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.415e-05/0.003775, allocations: 174.3 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.003795, allocations: 80.14 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.003813, allocations: 83.27 kB / 0.7621 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.003847, allocations: 110.5 kB / 0.7622 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.003847, allocations: 0 / 0.7622 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.767e-05/0.003895, allocations: 30.45 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.003939, allocations: 126.7 kB / 0.7624 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.004006, allocations: 119.5 kB / 0.7625 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.004014, allocations: 29.64 kB / 0.7625 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.004056, allocations: 98.16 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.004057, allocations: 0 / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.004078, allocations: 9.719 kB / 0.7626 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.004157, allocations: 318.8 kB / 0.7629 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-06/0.004162, allocations: 0 / 0.7629 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-06/0.004167, allocations: 1.625 kB / 0.7629 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.004194, allocations: 16.78 kB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.004196, allocations: 3.938 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.422e-05/0.00425, allocations: 32.95 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.004261, allocations: 4 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.004266, allocations: 4 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.004277, allocations: 0 / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-05/0.004312, allocations: 0 / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-06/0.004314, allocations: 0 / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.004329, allocations: 11.98 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.004336, allocations: 0 / 0.763 GB, free: 3.445 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 6.52e-05/0.004401, allocations: 198.9 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.004437, allocations: 104.9 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.004471, allocations: 108.5 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/0.004513, allocations: 188.3 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.951e-05/0.004552, allocations: 184.3 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.955e-05/0.004592, allocations: 176.3 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.004723, allocations: 337.4 kB / 0.7642 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/0.004747, allocations: 101 kB / 0.7643 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.004771, allocations: 106.4 kB / 0.7644 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-05/0.004813, allocations: 184.2 kB / 0.7646 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.004852, allocations: 180.2 kB / 0.7648 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.995e-05/0.004892, allocations: 180.2 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-05/0.004933, allocations: 181.7 kB / 0.7651 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.301e-05/0.005026, allocations: 303.8 kB / 0.7654 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.005067, allocations: 116.9 kB / 0.7655 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.005113, allocations: 180.2 kB / 0.7657 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.005163, allocations: 106.3 kB / 0.7658 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.005208, allocations: 184.2 kB / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.005235, allocations: 108.9 kB / 0.7661 GB, free: 120 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.621e-05/0.005251, allocations: 13.52 kB / 0.7661 GB, free: 104 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005251, allocations: 0 / 0.7661 GB, free: 104 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001153/0.005367, allocations: 4.625 kB / 0.7661 GB, free: 100 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 9.492e-05/0.005461, allocations: 156.4 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.54e-05/0.005507, allocations: 17.81 kB / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.00551, allocations: 0 / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.005511, allocations: 2.531 kB / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.005731, allocations: 460.2 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.005916, allocations: 211.7 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.005948, allocations: 59.34 kB / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.005964, allocations: 0 / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.006001, allocations: 51.38 kB / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/0.006001, allocations: 3.125 kB / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.001626/0.007627, allocations: 340.4 kB / 0.7674 GB, free: 14.78 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.2325655817985535]