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.001703/0.001703, allocations: 79.66 kB / 19.76 MB, free: 1.863 MB / 14.72 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.002122/0.002122, allocations: 161.2 kB / 23.01 MB, free: 4.609 MB / 14.72 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.473/1.473, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.928/2.928, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1..y|con.2..y|con.3..y|con.4..y|con.5..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.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 67.89 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001791/1.038, allocations: 0.6569 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/1.038, allocations: 12.28 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/1.038, allocations: 0 / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/1.038, allocations: 5.906 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.546e-05/1.038, allocations: 0.6562 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/1.038, allocations: 6.391 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.375e-05/1.039, allocations: 30.39 kB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/1.039, allocations: 24.84 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/1.039, allocations: 16.22 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/1.039, allocations: 18.05 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/1.039, allocations: 6.75 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/1.039, allocations: 4.125 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/1.039, allocations: 8.625 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/1.039, allocations: 12.75 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/1.039, allocations: 50.12 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.039, allocations: 0 / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/1.039, allocations: 0 / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.039, allocations: 2.125 kB / 1.187 GB, free: 15.66 MB / 1.076 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.0003116/1.039, allocations: 270.7 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.039, allocations: 10.42 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/1.039, allocations: 7.641 kB / 1.188 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/1.04, allocations: 133.4 kB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/1.04, allocations: 3.125 kB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/1.04, allocations: 7.125 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/1.04, allocations: 74.75 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.04, allocations: 4.125 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.04, allocations: 6.016 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.04, allocations: 1.375 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/1.04, allocations: 52.69 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/1.04, allocations: 406.8 kB / 1.188 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/1.04, allocations: 170.5 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/1.04, allocations: 88.83 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/1.04, allocations: 76.66 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/1.04, allocations: 107.2 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.04, allocations: 0 / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.54e-05/1.04, allocations: 33.14 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/1.04, allocations: 127.2 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.041, allocations: 123.1 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/1.041, allocations: 25.7 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/1.041, allocations: 102.7 kB / 1.189 GB, free: 13.94 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/1.041, allocations: 0 / 1.189 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/1.041, allocations: 17.81 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.832e-05/1.041, allocations: 325.5 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/1.041, allocations: 10.17 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/1.041, allocations: 11.02 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/1.041, allocations: 12.72 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.041, allocations: 0 / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/1.041, allocations: 55.56 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.041, allocations: 5.969 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.041, allocations: 0 / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.041, allocations: 0.875 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/1.041, allocations: 8.031 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.041, allocations: 0.6719 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/1.041, allocations: 12.05 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/1.041, allocations: 4.906 kB / 1.19 GB, free: 13.52 MB / 1.076 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.525e-05/1.041, allocations: 194.3 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/1.041, allocations: 104.4 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/1.041, allocations: 108.1 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/1.041, allocations: 182.4 kB / 1.19 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.888e-05/1.041, allocations: 182.4 kB / 1.19 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/1.041, allocations: 185.6 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/1.041, allocations: 367.7 kB / 1.191 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.041, allocations: 107.2 kB / 1.191 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/1.041, allocations: 106.7 kB / 1.191 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-05/1.041, allocations: 183.6 kB / 1.191 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/1.041, allocations: 182.2 kB / 1.191 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/1.041, allocations: 178.1 kB / 1.192 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.764e-05/1.041, allocations: 178.5 kB / 1.192 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.826e-05/1.042, allocations: 312.1 kB / 1.192 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/1.042, allocations: 120.4 kB / 1.192 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/1.042, allocations: 178.3 kB / 1.192 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/1.042, allocations: 104.4 kB / 1.193 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/1.042, allocations: 190.2 kB / 1.193 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/1.042, allocations: 102.6 kB / 1.193 GB, free: 10.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.776e-05/1.042, allocations: 99.22 kB / 1.193 GB, free: 10.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 1.312 kB / 1.193 GB, free: 10.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002225/1.042, allocations: 8 kB / 1.193 GB, free: 10.12 MB / 1.076 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.0001118/1.042, allocations: 168.8 kB / 1.193 GB, free: 9.957 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.098e-05/1.042, allocations: 16.72 kB / 1.193 GB, free: 9.949 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.042, allocations: 1.031 kB / 1.193 GB, free: 9.949 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/1.042, allocations: 4.062 kB / 1.193 GB, free: 9.945 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/1.043, allocations: 459.8 kB / 1.194 GB, free: 9.496 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/1.043, allocations: 203.2 kB / 1.194 GB, free: 9.305 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/1.043, allocations: 77.8 kB / 1.194 GB, free: 9.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.312e-05/1.043, allocations: 3.438 kB / 1.194 GB, free: 9.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/1.043, allocations: 8.5 kB / 1.194 GB, free: 9.223 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.043, allocations: 1.062 kB / 1.194 GB, free: 9.223 MB / 1.076 GB Notification: Performance of Templates: time 0.002788/1.046, allocations: 305.7 kB / 1.194 GB, free: 9.148 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.155443115974776]