Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.002039/0.002039, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002249/0.002249, allocations: 157.3 kB / 23.54 MB, free: 0.8789 MB / 18.57 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.008/3.008, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.966e-06/2.966e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.222e-05, allocations: 6.781 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002175/0.002207, allocations: 0.7662 MB / 0.8116 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003526, allocations: 0.8938 MB / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.003577, allocations: 0 / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.003614, allocations: 9.094 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.003729, allocations: 15.86 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.003945, allocations: 40.58 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.004089, allocations: 87.7 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.004212, allocations: 16.48 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.004351, allocations: 57.09 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.605e-05/0.004447, allocations: 43.88 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.004478, allocations: 8 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.004498, allocations: 8.875 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.004529, allocations: 11.98 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.004577, allocations: 27.91 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.004743, allocations: 88.84 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.004748, allocations: 0 / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of FrontEnd: time 3.416e-06/0.004751, allocations: 3.984 kB / 0.8129 GB, free: 20 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.004756, allocations: 5.531 kB / 0.8129 GB, free: 16 kB / 0.7605 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.0007962/0.005552, allocations: 411.9 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.005598, allocations: 8.031 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.005668, allocations: 18.42 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.005863, allocations: 124.4 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.005889, allocations: 8.375 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.005907, allocations: 4.375 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.006184, allocations: 91.97 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.006198, allocations: 7.938 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.006212, allocations: 0 / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.006216, allocations: 0 / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.006494, allocations: 85.17 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.007138, allocations: 336.8 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.007719, allocations: 111.1 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.007877, allocations: 44.36 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.007907, allocations: 4 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.007945, allocations: 37.94 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.007946, allocations: 2.031 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005526/0.008498, allocations: 145.6 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.008557, allocations: 63.33 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.008721, allocations: 186.4 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.008755, allocations: 33.7 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.008854, allocations: 139.6 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.008888, allocations: 19.8 kB / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.008952, allocations: 32.83 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.00923, allocations: 0.4961 MB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.009361, allocations: 31.98 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.009481, allocations: 36.91 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.009741, allocations: 80.8 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009743, allocations: 0.75 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003257/0.01007, allocations: 126.2 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01008, allocations: 7.938 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01009, allocations: 1.281 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.0101, allocations: 0 / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.01025, allocations: 19.98 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.01025, allocations: 0.8125 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.01034, allocations: 8.922 kB / 0.8155 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01035, allocations: 4 kB / 0.8155 GB, free: 13.14 MB / 0.7761 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.0001405/0.01049, allocations: 161.8 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.01053, allocations: 15.95 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006886/0.01122, allocations: 123 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01123, allocations: 3.984 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01123, allocations: 2.312 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01123, allocations: 4 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.01146, allocations: 152.5 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01146, allocations: 0 / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.0116, allocations: 23.98 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.0116, allocations: 0 / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.01161, allocations: 3.438 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01162, allocations: 0 / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01162, allocations: 0 / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.01206, allocations: 275.7 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.01208, allocations: 11.89 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.0121, allocations: 0 / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01221, allocations: 11.98 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.0123, allocations: 19.97 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.01232, allocations: 4.844 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001076/0.01242, allocations: 143.2 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01242, allocations: 0.5 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002319/0.01265, allocations: 12.56 kB / 0.8164 GB, free: 12.13 MB / 0.7761 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.0001446/0.0128, allocations: 96.7 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.01313, allocations: 88.73 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01314, allocations: 0 / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.01331, allocations: 67.59 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.01361, allocations: 26.77 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.01413, allocations: 184.5 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.774e-05/0.01423, allocations: 79.16 kB / 0.8169 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.01429, allocations: 8 kB / 0.8169 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.537e-05/0.01438, allocations: 25.36 kB / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01438, allocations: 0 / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.005773/0.02015, allocations: 1.722 MB / 0.8186 GB, free: 9.828 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.240553651936352]