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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 489.7 MB / 0.7761 GB, free: 2.543 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=500,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=500,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: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.89 kB / 1.127 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8924/0.8944, allocations: 172 MB / 1.295 GB, free: 38.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001593/0.896, allocations: 0.6592 MB / 1.296 GB, free: 38.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.8961, allocations: 16.67 kB / 1.296 GB, free: 38.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.8962, allocations: 0 / 1.296 GB, free: 38.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.363e-05/0.8963, allocations: 2.875 kB / 1.296 GB, free: 38.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.091e-05/0.8963, allocations: 7.359 kB / 1.296 GB, free: 38.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.98e-05/0.8964, allocations: 4 kB / 1.296 GB, free: 38.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.8964, allocations: 22.28 kB / 1.296 GB, free: 38.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.8966, allocations: 32.03 kB / 1.296 GB, free: 38.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.8966, allocations: 20.64 kB / 1.296 GB, free: 38.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.554e-05/0.8966, allocations: 14.03 kB / 1.296 GB, free: 38.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.8966, allocations: 2.688 kB / 1.296 GB, free: 38.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.8966, allocations: 5.375 kB / 1.296 GB, free: 38.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.8967, allocations: 10.62 kB / 1.296 GB, free: 38.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.8967, allocations: 17.44 kB / 1.296 GB, free: 38.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.843e-05/0.8968, allocations: 54.23 kB / 1.296 GB, free: 38.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8968, allocations: 3.938 kB / 1.296 GB, free: 38.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8968, allocations: 0 / 1.296 GB, free: 38.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.8968, allocations: 4 kB / 1.296 GB, free: 38.2 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.0002478/0.897, allocations: 352.1 kB / 1.296 GB, free: 37.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.8971, allocations: 11.06 kB / 1.296 GB, free: 37.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.8971, allocations: 7.828 kB / 1.296 GB, free: 37.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.8972, allocations: 173.4 kB / 1.296 GB, free: 37.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.8972, allocations: 7.469 kB / 1.296 GB, free: 37.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.8972, allocations: 3.312 kB / 1.296 GB, free: 37.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.8973, allocations: 82.23 kB / 1.296 GB, free: 37.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8973, allocations: 192 / 1.296 GB, free: 37.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.8974, allocations: 11.94 kB / 1.296 GB, free: 37.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.8974, allocations: 2.844 kB / 1.296 GB, free: 37.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.75e-05/0.8974, allocations: 51.95 kB / 1.296 GB, free: 37.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.8977, allocations: 487.7 kB / 1.297 GB, free: 37.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.848e-05/0.8978, allocations: 168 kB / 1.297 GB, free: 36.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.8978, allocations: 84.14 kB / 1.297 GB, free: 36.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.8978, allocations: 79.28 kB / 1.297 GB, free: 36.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.8978, allocations: 105.8 kB / 1.297 GB, free: 36.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8978, allocations: 3.938 kB / 1.297 GB, free: 36.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.867e-05/0.8979, allocations: 31.75 kB / 1.297 GB, free: 36.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.8979, allocations: 129.6 kB / 1.297 GB, free: 36.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.898, allocations: 176.8 kB / 1.298 GB, free: 36.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-06/0.898, allocations: 25.7 kB / 1.298 GB, free: 36.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.8981, allocations: 102.3 kB / 1.298 GB, free: 36.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.8981, allocations: 3.094 kB / 1.298 GB, free: 36.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.8981, allocations: 9.719 kB / 1.298 GB, free: 36.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.695e-05/0.8981, allocations: 321 kB / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.8981, allocations: 5.469 kB / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.8981, allocations: 9.984 kB / 1.298 GB, free: 35.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.8982, allocations: 21.44 kB / 1.298 GB, free: 35.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8982, allocations: 2.375 kB / 1.298 GB, free: 35.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.245e-05/0.8983, allocations: 50.44 kB / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.8983, allocations: 5.438 kB / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.8983, allocations: 0 / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.8983, allocations: 0 / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.471e-05/0.8983, allocations: 5.984 kB / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.8983, allocations: 3.938 kB / 1.298 GB, free: 35.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.8984, allocations: 5.625 kB / 1.298 GB, free: 35.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.8984, allocations: 32 / 1.298 GB, free: 35.82 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 4.823e-05/0.8984, allocations: 198.2 kB / 1.298 GB, free: 35.63 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.8985, allocations: 115.7 kB / 1.298 GB, free: 35.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.8985, allocations: 118.3 kB / 1.299 GB, free: 35.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.8985, allocations: 176.3 kB / 1.299 GB, free: 35.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.8985, allocations: 184.1 kB / 1.299 GB, free: 35.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.8985, allocations: 183.1 kB / 1.299 GB, free: 34.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.8987, allocations: 423.5 kB / 1.3 GB, free: 34.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.8987, allocations: 104.9 kB / 1.3 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.8987, allocations: 101 kB / 1.3 GB, free: 34.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/0.8987, allocations: 186.1 kB / 1.3 GB, free: 34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.8987, allocations: 180.3 kB / 1.3 GB, free: 33.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/0.8987, allocations: 180.2 kB / 1.3 GB, free: 33.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-05/0.8988, allocations: 187 kB / 1.3 GB, free: 33.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.52e-05/0.8988, allocations: 310.1 kB / 1.301 GB, free: 33.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.8989, allocations: 188.6 kB / 1.301 GB, free: 32.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.8989, allocations: 192.1 kB / 1.301 GB, free: 32.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.954e-05/0.8989, allocations: 112 kB / 1.301 GB, free: 32.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.899, allocations: 184.1 kB / 1.301 GB, free: 32.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.899, allocations: 104.4 kB / 1.301 GB, free: 32.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.546e-05/0.899, allocations: 133.4 kB / 1.302 GB, free: 32.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.899, allocations: 0 / 1.302 GB, free: 32.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002115/0.8993, allocations: 5.844 kB / 1.302 GB, free: 32.23 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.0001022/0.8994, allocations: 176.3 kB / 1.302 GB, free: 32.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.821e-05/0.8994, allocations: 13.84 kB / 1.302 GB, free: 32.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8994, allocations: 0 / 1.302 GB, free: 32.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.8994, allocations: 3.938 kB / 1.302 GB, free: 32.06 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.8997, allocations: 466.6 kB / 1.302 GB, free: 31.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.9, allocations: 244.4 kB / 1.302 GB, free: 31.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.161e-05/0.9001, allocations: 0.6932 MB / 1.303 GB, free: 30.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.9001, allocations: 10.31 kB / 1.303 GB, free: 30.68 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.9001, allocations: 0 / 1.303 GB, free: 30.68 MB / 1.061 GB Notification: Performance of Templates: time 0.001798/0.9019, allocations: 0.7635 MB / 1.304 GB, free: 30.63 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] 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