Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 116.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 191.6 kB / 20.02 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 245.7 MB, free: 4.344 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_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.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.89 kB / 1.028 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2939, allocations: 151.6 MB / 1.176 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001977/0.296, allocations: 0.6529 MB / 1.177 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000147/0.2961, allocations: 11.94 kB / 1.177 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.2962, allocations: 3.938 kB / 1.177 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.509e-05/0.2963, allocations: 7.922 kB / 1.177 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.2964, allocations: 4 kB / 1.177 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.526e-05/0.2964, allocations: 8 kB / 1.177 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.798e-05/0.2965, allocations: 23.92 kB / 1.177 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.2967, allocations: 35.97 kB / 1.177 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.2967, allocations: 11.94 kB / 1.177 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.358e-05/0.2968, allocations: 19.86 kB / 1.177 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.2968, allocations: 4 kB / 1.177 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.2968, allocations: 8 kB / 1.177 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.2968, allocations: 11.94 kB / 1.177 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.2969, allocations: 23.86 kB / 1.177 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.297, allocations: 43.75 kB / 1.177 GB, free: 4.945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.297, allocations: 0 / 1.177 GB, free: 4.945 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/0.297, allocations: 0 / 1.177 GB, free: 4.945 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.297, allocations: 0 / 1.177 GB, free: 4.945 MB / 0.92 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.000408/0.2974, allocations: 355.3 kB / 1.177 GB, free: 4.547 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2975, allocations: 8.031 kB / 1.177 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.2976, allocations: 12.89 kB / 1.177 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2977, allocations: 180.3 kB / 1.177 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2978, allocations: 4.375 kB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.2978, allocations: 8.359 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.298, allocations: 78.22 kB / 1.177 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.298, allocations: 192 / 1.177 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.298, allocations: 3.938 kB / 1.177 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.298, allocations: 0 / 1.177 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.2981, allocations: 55.91 kB / 1.177 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.2986, allocations: 495.1 kB / 1.178 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.2987, allocations: 165.6 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.2988, allocations: 80.14 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.2988, allocations: 79.22 kB / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.2989, allocations: 113.8 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2989, allocations: 0 / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.088e-05/0.299, allocations: 33.66 kB / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.2991, allocations: 130.7 kB / 1.178 GB, free: 2.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.2993, allocations: 175.8 kB / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2993, allocations: 25.7 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.2994, allocations: 92.14 kB / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-06/0.2994, allocations: 0 / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.2994, allocations: 21.72 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2996, allocations: 318.8 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.2996, allocations: 8 kB / 1.179 GB, free: 2.332 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.2996, allocations: 11.92 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.2996, allocations: 16.84 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2997, allocations: 0 / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000124/0.2998, allocations: 53.64 kB / 1.179 GB, free: 2.242 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2998, allocations: 4.094 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2998, allocations: 4 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2998, allocations: 0 / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.2999, allocations: 11.94 kB / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2999, allocations: 3.938 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.2999, allocations: 7.938 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3, allocations: 0 / 1.179 GB, free: 2.211 MB / 0.92 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.0001252/0.3001, allocations: 193.1 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.3002, allocations: 116.9 kB / 1.179 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.3002, allocations: 112.8 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.094e-05/0.3003, allocations: 184.3 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.221e-05/0.3004, allocations: 184.1 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.957e-05/0.3005, allocations: 176.3 kB / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.3008, allocations: 425.1 kB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-05/0.3009, allocations: 109 kB / 1.181 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.3009, allocations: 104.9 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.86e-05/0.301, allocations: 180.3 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/0.3011, allocations: 176.3 kB / 1.181 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-05/0.3012, allocations: 188.2 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.267e-05/0.3013, allocations: 180.2 kB / 1.181 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.3015, allocations: 315.7 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3016, allocations: 194.2 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/0.3017, allocations: 180.3 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.3018, allocations: 105 kB / 1.182 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.3019, allocations: 192.1 kB / 1.182 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.3019, allocations: 101 kB / 1.182 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001153/0.3021, allocations: 133.6 kB / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3021, allocations: 0 / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002492/0.3023, allocations: 8 kB / 1.183 GB, free: 14.5 MB / 0.9356 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.0001832/0.3025, allocations: 178.5 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.3026, allocations: 11.94 kB / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3026, allocations: 0 / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.3026, allocations: 0 / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.3031, allocations: 459.7 kB / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.3035, allocations: 245.8 kB / 1.183 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.3039, allocations: 0.6924 MB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.3039, allocations: 7.438 kB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.3039, allocations: 0 / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.002382/0.3063, allocations: 0.7674 MB / 1.185 GB, free: 12.09 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.283840548014268]