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.001735/0.001735, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002292/0.002292, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 3.303/3.303, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 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.002076/0.002076, allocations: 68.92 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3358, allocations: 181.8 MB / 1.365 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001852/0.3376, allocations: 0.6662 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.3378, allocations: 7.984 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.3378, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.3379, allocations: 7.922 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.183e-05/0.3379, allocations: 8 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.841e-05/0.338, allocations: 4 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.278e-05/0.3381, allocations: 31.86 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3382, allocations: 19.98 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.3383, allocations: 8 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.3383, allocations: 23.86 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3383, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.3383, allocations: 4 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.3383, allocations: 11.98 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.3384, allocations: 19.86 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.994e-05/0.3385, allocations: 47.77 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3385, allocations: 4 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3385, allocations: 0 / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3385, allocations: 3.938 kB / 1.365 GB, free: 12.65 MB / 1.061 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.0003587/0.3389, allocations: 274.2 kB / 1.366 GB, free: 12.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3389, allocations: 11.97 kB / 1.366 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.3389, allocations: 8.891 kB / 1.366 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.3391, allocations: 118.5 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3391, allocations: 8.375 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.3391, allocations: 384 / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3393, allocations: 78.22 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3393, allocations: 4.188 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3393, allocations: 11.88 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3393, allocations: 4 kB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.3394, allocations: 47.91 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.3398, allocations: 411.3 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.34, allocations: 173.1 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.34, allocations: 84.17 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.34, allocations: 75.28 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.3401, allocations: 109.8 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3401, allocations: 0 / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.146e-05/0.3402, allocations: 25.7 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.3402, allocations: 138.6 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3404, allocations: 125.8 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3404, allocations: 25.7 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.3404, allocations: 104 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3404, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.3405, allocations: 9.719 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3406, allocations: 322.8 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.3406, allocations: 8 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.3406, allocations: 7.984 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/0.3407, allocations: 12.92 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3407, allocations: 4 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001204/0.3408, allocations: 57.56 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3408, allocations: 4 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3408, allocations: 0 / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3408, allocations: 4 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.3409, allocations: 4 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3409, allocations: 0 / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.3409, allocations: 8.047 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3409, allocations: 7.938 kB / 1.368 GB, free: 10.23 MB / 1.061 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.0001213/0.341, allocations: 197.8 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.3411, allocations: 101 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.3412, allocations: 120.4 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.618e-05/0.3412, allocations: 176.3 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.177e-05/0.3413, allocations: 184.2 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.373e-05/0.3414, allocations: 184.1 kB / 1.369 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.3417, allocations: 364.9 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/0.3417, allocations: 112.9 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.3417, allocations: 101 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.867e-05/0.3418, allocations: 177.3 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/0.3419, allocations: 184.2 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.877e-05/0.342, allocations: 180.3 kB / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.638e-05/0.3421, allocations: 180.2 kB / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.3422, allocations: 319.7 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.3423, allocations: 104.9 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.3424, allocations: 184.3 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.3425, allocations: 109.2 kB / 1.371 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.3426, allocations: 180.3 kB / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.3426, allocations: 108.9 kB / 1.371 GB, free: 6.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.45e-05/0.3427, allocations: 99.58 kB / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3427, allocations: 0 / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002265/0.3429, allocations: 11.94 kB / 1.371 GB, free: 6.73 MB / 1.061 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.000165/0.3431, allocations: 168.8 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.667e-05/0.3432, allocations: 16 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3432, allocations: 0 / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3432, allocations: 0 / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.3436, allocations: 461.6 kB / 1.372 GB, free: 6.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.344, allocations: 229.9 kB / 1.372 GB, free: 5.832 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.399e-05/0.344, allocations: 75.33 kB / 1.372 GB, free: 5.738 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.3441, allocations: 15.5 kB / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3441, allocations: 0 / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of Templates: time 0.002127/0.3462, allocations: 0.6485 MB / 1.372 GB, free: 5.074 MB / 1.061 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=800 -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: 11.289333384018391]