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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.863/2.863, allocations: 443.4 MB / 0.7304 GB, free: 13.99 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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.002161/0.002161, allocations: 67.89 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4129, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002251/0.4151, allocations: 0.7908 MB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.4163, allocations: 0.874 MB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.4164, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.4164, allocations: 7.922 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.639e-05/0.4165, allocations: 11.88 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.4167, allocations: 39.95 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.4168, allocations: 91.75 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.4169, allocations: 19.98 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.417, allocations: 31.91 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.4171, allocations: 51.75 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.4172, allocations: 8 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.4172, allocations: 8 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.4172, allocations: 19.98 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.4173, allocations: 39.78 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.4174, allocations: 91.53 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4174, allocations: 4 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4174, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.4174, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 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.000816/0.4183, allocations: 403.1 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4183, allocations: 8.031 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.4184, allocations: 8.891 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4186, allocations: 168.3 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.4186, allocations: 12.38 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.4186, allocations: 4.375 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.419, allocations: 113.5 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.419, allocations: 0 / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.419, allocations: 4 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.419, allocations: 0 / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.4194, allocations: 95.91 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.4201, allocations: 352.6 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.4207, allocations: 114.6 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.421, allocations: 53.83 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.421, allocations: 8 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.4211, allocations: 30.56 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4211, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006781/0.4217, allocations: 189.4 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.4218, allocations: 55.39 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4219, allocations: 121.8 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.4219, allocations: 25.7 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.422, allocations: 104 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.422, allocations: 15.8 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.4221, allocations: 25.7 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4222, allocations: 326.8 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.4224, allocations: 47.89 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.4226, allocations: 44.27 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.4229, allocations: 100.9 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4229, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003965/0.4233, allocations: 141.5 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4233, allocations: 4 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4234, allocations: 0 / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.4234, allocations: 0 / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.4236, allocations: 27.97 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4236, allocations: 4 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.4237, allocations: 15.91 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.4237, allocations: 8 kB / 1.221 GB, free: 10.41 MB / 0.9669 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.0001169/0.4238, allocations: 113.8 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.4238, allocations: 7.953 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.4244, allocations: 157.9 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4244, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4244, allocations: 4 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4244, allocations: 7.938 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.4247, allocations: 189.6 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4247, allocations: 3.984 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.4248, allocations: 23.97 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4248, allocations: 4 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4248, allocations: 4 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4248, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4248, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.4253, allocations: 243.3 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.4254, allocations: 89 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4254, allocations: 4 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4256, allocations: 11.97 kB / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.4256, allocations: 27.86 kB / 1.222 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.4256, allocations: 4 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.9e-05/0.4257, allocations: 95.27 kB / 1.222 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4257, allocations: 0 / 1.222 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002282/0.4259, allocations: 12 kB / 1.222 GB, free: 9.332 MB / 0.9669 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.000261/0.4262, allocations: 107.2 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.4266, allocations: 103.8 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4267, allocations: 0 / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.4268, allocations: 59.94 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4272, allocations: 10.11 kB / 1.222 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.4277, allocations: 194 kB / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.428, allocations: 0.6962 MB / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.006e-05/0.4281, allocations: 12 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.4281, allocations: 23.42 kB / 1.223 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.4281, allocations: 0 / 1.223 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.004728/0.4329, allocations: 1.613 MB / 1.224 GB, free: 6.465 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 8.96701271366328]