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.00136/0.00136, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001485/0.001485, allocations: 155.9 kB / 23 MB, free: 4.605 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.953/2.953, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1..y|con.2..y|con.3..y|con.4..y|con.5..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.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_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.002107/0.002107, allocations: 67.89 kB / 0.982 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9452/0.9473, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00182/0.9491, allocations: 0.6455 MB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001664/0.9493, allocations: 17.69 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.9493, allocations: 2.688 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.9494, allocations: 3.938 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.9495, allocations: 0 / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.845e-05/0.9495, allocations: 2.719 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.9496, allocations: 25.66 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.9498, allocations: 30.5 kB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.9498, allocations: 17.25 kB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.574e-05/0.9498, allocations: 24.42 kB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.9498, allocations: 2.844 kB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.9499, allocations: 2.875 kB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.9499, allocations: 10.94 kB / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.9499, allocations: 12 kB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.842e-05/0.95, allocations: 48.47 kB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.95, allocations: 0 / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.95, allocations: 0 / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.95, allocations: 0 / 1.155 GB, free: 32.85 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.0002978/0.9503, allocations: 279.3 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.9504, allocations: 11.66 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.9504, allocations: 7.047 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.9505, allocations: 126.3 kB / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.9505, allocations: 7.453 kB / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.9506, allocations: 11.38 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.9507, allocations: 77.58 kB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9507, allocations: 192 / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.9507, allocations: 3.938 kB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9507, allocations: 2.75 kB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/0.9508, allocations: 45.75 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.9511, allocations: 418.8 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.9512, allocations: 171.8 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.9512, allocations: 80.14 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.9512, allocations: 75.28 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.9512, allocations: 112.3 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.9512, allocations: 0 / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.322e-05/0.9513, allocations: 31.97 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.9514, allocations: 126.7 kB / 1.156 GB, free: 31.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.9514, allocations: 122.5 kB / 1.156 GB, free: 31.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.9514, allocations: 25.7 kB / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.9515, allocations: 105.8 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.9515, allocations: 0 / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.9515, allocations: 19.25 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.9516, allocations: 318.8 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.9516, allocations: 8.219 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.9516, allocations: 9.828 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.9516, allocations: 17.08 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9516, allocations: 2.906 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.998e-05/0.9517, allocations: 44 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.9518, allocations: 11.31 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9518, allocations: 0 / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9518, allocations: 9.562 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.9518, allocations: 2.656 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.9518, allocations: 0 / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.9518, allocations: 6.781 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.9519, allocations: 0 / 1.157 GB, free: 30.71 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 5.864e-05/0.9519, allocations: 196.2 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.952, allocations: 111.8 kB / 1.157 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.952, allocations: 107.6 kB / 1.157 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.952, allocations: 187.1 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/0.952, allocations: 180.3 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/0.9521, allocations: 183 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.9522, allocations: 367.4 kB / 1.158 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.9522, allocations: 103.7 kB / 1.158 GB, free: 29.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.9522, allocations: 112 kB / 1.158 GB, free: 29.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-05/0.9522, allocations: 179.4 kB / 1.159 GB, free: 28.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.9523, allocations: 180.2 kB / 1.159 GB, free: 28.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-05/0.9523, allocations: 187 kB / 1.159 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.658e-05/0.9523, allocations: 179.3 kB / 1.159 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.997e-05/0.9524, allocations: 310.2 kB / 1.159 GB, free: 28.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.9524, allocations: 114.8 kB / 1.16 GB, free: 27.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.9524, allocations: 180.2 kB / 1.16 GB, free: 27.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.9525, allocations: 103.8 kB / 1.16 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.9525, allocations: 186.9 kB / 1.16 GB, free: 27.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.9526, allocations: 104.4 kB / 1.16 GB, free: 27.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.9526, allocations: 94 kB / 1.16 GB, free: 27.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.9526, allocations: 0 / 1.16 GB, free: 27.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000221/0.9528, allocations: 13.45 kB / 1.16 GB, free: 27.3 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 9.93e-05/0.9529, allocations: 168.8 kB / 1.16 GB, free: 27.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.742e-05/0.953, allocations: 23.36 kB / 1.16 GB, free: 27.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.953, allocations: 0 / 1.16 GB, free: 27.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.953, allocations: 0 / 1.16 GB, free: 27.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.9533, allocations: 458.4 kB / 1.161 GB, free: 26.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.9536, allocations: 204.5 kB / 1.161 GB, free: 26.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.326e-05/0.9536, allocations: 79.02 kB / 1.161 GB, free: 26.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.893e-05/0.9537, allocations: 2.594 kB / 1.161 GB, free: 26.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.9537, allocations: 10.81 kB / 1.161 GB, free: 26.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9537, allocations: 0 / 1.161 GB, free: 26.4 MB / 1.076 GB Notification: Performance of Templates: time 0.002603/0.9563, allocations: 308.5 kB / 1.161 GB, free: 26.32 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.946149209048599]