Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001327/0.001327, allocations: 101.5 kB / 18.19 MB, free: 3.879 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.001502/0.001502, allocations: 188.4 kB / 21.34 MB, free: 0.7383 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.434/1.434, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 443.5 MB / 0.731 GB, free: 12.73 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=523,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=523,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 63.91 kB / 1.06 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8925/0.8948, allocations: 160.7 MB / 1.217 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002421/0.8972, allocations: 0.7955 MB / 1.217 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.8984, allocations: 0.8661 MB / 1.218 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.8985, allocations: 9.125 kB / 1.218 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.8985, allocations: 3.938 kB / 1.218 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.659e-05/0.8986, allocations: 8.906 kB / 1.218 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.8988, allocations: 38.95 kB / 1.218 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.8989, allocations: 87.28 kB / 1.218 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.899, allocations: 23.08 kB / 1.218 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.8991, allocations: 40.97 kB / 1.218 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.8992, allocations: 49.03 kB / 1.218 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.8992, allocations: 8.094 kB / 1.218 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.8992, allocations: 7.969 kB / 1.218 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.8993, allocations: 26.06 kB / 1.218 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.8993, allocations: 30.39 kB / 1.218 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.8995, allocations: 95.69 kB / 1.219 GB, free: 2.305 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8995, allocations: 0 / 1.219 GB, free: 2.305 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8995, allocations: 1.375 kB / 1.219 GB, free: 2.305 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.8995, allocations: 0 / 1.219 GB, free: 2.305 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006949/0.9002, allocations: 394 kB / 1.219 GB, free: 1.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9002, allocations: 9.875 kB / 1.219 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.9003, allocations: 12.27 kB / 1.219 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.9005, allocations: 185.2 kB / 1.219 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.9005, allocations: 2.656 kB / 1.219 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.9005, allocations: 3.875 kB / 1.219 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.9008, allocations: 108.7 kB / 1.219 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.9008, allocations: 1.125 kB / 1.219 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.9008, allocations: 4 kB / 1.219 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.9009, allocations: 2.438 kB / 1.219 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.9012, allocations: 95.31 kB / 1.219 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.9018, allocations: 345.6 kB / 1.22 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.9024, allocations: 120.3 kB / 1.22 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.9026, allocations: 54.38 kB / 1.22 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.9026, allocations: 5.094 kB / 1.22 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.9027, allocations: 31.91 kB / 1.22 GB, free: 1.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.9027, allocations: 0 / 1.22 GB, free: 1.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006764/0.9033, allocations: 191.8 kB / 1.22 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.9034, allocations: 52.53 kB / 1.22 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.9035, allocations: 129.1 kB / 1.22 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.9035, allocations: 31.08 kB / 1.22 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.9036, allocations: 98.66 kB / 1.22 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.9036, allocations: 19.2 kB / 1.22 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.9037, allocations: 23.61 kB / 1.22 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.9038, allocations: 317 kB / 1.221 GB, free: 280 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.904, allocations: 47.11 kB / 1.221 GB, free: 256 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.9042, allocations: 45.42 kB / 1.221 GB, free: 236 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.9045, allocations: 97.36 kB / 1.221 GB, free: 184 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9045, allocations: 1.156 kB / 1.221 GB, free: 184 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000439/0.9049, allocations: 140.3 kB / 1.221 GB, free: 96 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.905, allocations: 5 kB / 1.221 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.905, allocations: 5.125 kB / 1.221 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.905, allocations: 0 / 1.221 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.9051, allocations: 24.25 kB / 1.221 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.9051, allocations: 1.125 kB / 1.221 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.9053, allocations: 31.5 kB / 1.221 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.9053, allocations: 1.672 kB / 1.221 GB, free: 60 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001206/0.9054, allocations: 114.3 kB / 1.221 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.9054, allocations: 11.55 kB / 1.221 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.9059, allocations: 154.7 kB / 1.221 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9059, allocations: 1.781 kB / 1.221 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9059, allocations: 0 / 1.221 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.9059, allocations: 3.938 kB / 1.221 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.9062, allocations: 200.2 kB / 1.222 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9062, allocations: 4 kB / 1.222 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.9063, allocations: 24.22 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.9063, allocations: 1.094 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.9064, allocations: 5.125 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9064, allocations: 0 / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9064, allocations: 1.156 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.9068, allocations: 243.5 kB / 1.222 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.9069, allocations: 82.88 kB / 1.222 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.9069, allocations: 1.125 kB / 1.222 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.907, allocations: 19.12 kB / 1.222 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.9071, allocations: 22.98 kB / 1.222 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.9071, allocations: 1.281 kB / 1.222 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.687e-05/0.9072, allocations: 93.36 kB / 1.222 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9072, allocations: 4 kB / 1.222 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002246/0.9074, allocations: 12.44 kB / 1.222 GB, free: 15.18 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001437/0.9076, allocations: 105 kB / 1.222 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.908, allocations: 100 kB / 1.222 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.908, allocations: 9 kB / 1.222 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.9082, allocations: 58.88 kB / 1.222 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.9086, allocations: 4.094 kB / 1.222 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.9091, allocations: 214.5 kB / 1.223 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.9094, allocations: 0.6938 MB / 1.223 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.9095, allocations: 22.56 kB / 1.223 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.9095, allocations: 0 / 1.223 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of Templates: time 0.003276/0.9128, allocations: 1.241 MB / 1.224 GB, free: 13.45 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches