Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001018/0.001018, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002432, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000704/0.000704, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001819, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9753/0.9753, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0873/1.063, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.394/2.394, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2577/2.652, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.625e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00191/0.001936, allocations: 0.7109 MB / 0.8197 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 5.979e-05/0.001996, allocations: 11.94 kB / 0.8197 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.002034, allocations: 0 / 0.8197 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.38e-05/0.002098, allocations: 7.922 kB / 0.8197 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.421e-05/0.002132, allocations: 4 kB / 0.8197 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.421e-05/0.002166, allocations: 4 kB / 0.8197 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.728e-05/0.002254, allocations: 27.91 kB / 0.8197 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.002368, allocations: 23.92 kB / 0.8198 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.002421, allocations: 19.98 kB / 0.8198 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.00246, allocations: 19.91 kB / 0.8198 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.002483, allocations: 4 kB / 0.8198 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.002493, allocations: 4 kB / 0.8198 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.002526, allocations: 4 kB / 0.8198 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.002549, allocations: 11.94 kB / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.322e-05/0.002632, allocations: 31.8 kB / 0.8199 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.002645, allocations: 4 kB / 0.8199 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002646, allocations: 0 / 0.8199 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.002659, allocations: 0 / 0.8199 GB, free: 1.539 MB / 0.7917 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.0003082/0.002967, allocations: 264.5 kB / 0.8201 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.003003, allocations: 12.03 kB / 0.8201 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.003039, allocations: 4.938 kB / 0.8201 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.003162, allocations: 117.7 kB / 0.8202 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.003171, allocations: 4.375 kB / 0.8202 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.003184, allocations: 4.375 kB / 0.8202 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.003315, allocations: 57.02 kB / 0.8203 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.003327, allocations: 8.125 kB / 0.8203 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.003336, allocations: 4.375 kB / 0.8203 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.003342, allocations: 4.375 kB / 0.8203 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.003367, allocations: 15.92 kB / 0.8203 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.003669, allocations: 344.3 kB / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.003732, allocations: 173.1 kB / 0.8208 GB, free: 472 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.003754, allocations: 80.14 kB / 0.8209 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.003771, allocations: 75.28 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.003806, allocations: 109.8 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.003807, allocations: 0 / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.579e-05/0.003863, allocations: 33.64 kB / 0.8211 GB, free: 152 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.003905, allocations: 130.7 kB / 0.8212 GB, free: 8 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.003996, allocations: 110.8 kB / 0.8213 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.004003, allocations: 25.7 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.004048, allocations: 103.9 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.004051, allocations: 0 / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.004078, allocations: 17.7 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.004156, allocations: 314.8 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-06/0.004162, allocations: 4 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.004168, allocations: 0 / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.004202, allocations: 12.92 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.004205, allocations: 4.047 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.779e-05/0.004273, allocations: 45.56 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.004285, allocations: 4 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.00429, allocations: 320 / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.004303, allocations: 4 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.701e-05/0.00435, allocations: 0 / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.004353, allocations: 0 / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.00437, allocations: 4 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.004379, allocations: 3.984 kB / 0.8219 GB, free: 15.32 MB / 0.8073 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.669e-05/0.004446, allocations: 195.9 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.00449, allocations: 112.9 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.00453, allocations: 112.5 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.093e-05/0.004571, allocations: 176.3 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-05/0.004614, allocations: 184.2 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/0.004661, allocations: 176.3 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.004821, allocations: 329.5 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/0.00485, allocations: 105 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.004877, allocations: 105 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.004913, allocations: 120.8 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.233e-05/0.004955, allocations: 184.3 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.005, allocations: 184.2 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.315e-05/0.005043, allocations: 176.3 kB / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.502e-05/0.005088, allocations: 184.2 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.0052, allocations: 307.7 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.005276, allocations: 184.2 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.005344, allocations: 109 kB / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.005387, allocations: 176.3 kB / 0.8248 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.005429, allocations: 104.9 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.345e-05/0.005453, allocations: 16.84 kB / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005453, allocations: 0 / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001684/0.005621, allocations: 8 kB / 0.825 GB, free: 11.96 MB / 0.8073 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.0001136/0.005735, allocations: 151.7 kB / 0.8251 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.089e-05/0.005786, allocations: 8.859 kB / 0.8251 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.00579, allocations: 3.938 kB / 0.8251 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.005792, allocations: 0 / 0.8251 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.006086, allocations: 0.4946 MB / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.006359, allocations: 210.2 kB / 0.8258 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.558e-05/0.006394, allocations: 59.34 kB / 0.8259 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.006414, allocations: 4.094 kB / 0.8259 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.006456, allocations: 51.38 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.006456, allocations: 0 / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of Templates: time 0.001954/0.00841, allocations: 358 kB / 0.8263 GB, free: 10.57 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.183962598443031]