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.0015/0.0015, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001627/0.001627, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.52/1.52, allocations: 177.1 MB / 203.9 MB, free: 5.215 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.007/3.007, allocations: 377.8 MB / 0.6232 GB, free: 8.508 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.294e-06/2.294e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.432e-05, allocations: 5.125 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00279/0.002825, allocations: 0.7544 MB / 0.8116 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002235/0.00506, allocations: 0.8859 MB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.005116, allocations: 0 / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.676e-05/0.005163, allocations: 8.953 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.005276, allocations: 11.86 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.005514, allocations: 44.61 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.005693, allocations: 87.81 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.00584, allocations: 21.67 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.006, allocations: 47.89 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.00613, allocations: 35.89 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.006168, allocations: 8 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.738e-05/0.006195, allocations: 9.531 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.00624, allocations: 23.91 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.006313, allocations: 27.97 kB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.006552, allocations: 99.58 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.006557, allocations: 1.75 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.412e-06/0.006558, allocations: 0 / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.006563, allocations: 0 / 0.8128 GB, free: 24 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.0009179/0.007481, allocations: 315.2 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.007531, allocations: 12.03 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.007603, allocations: 8.891 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.007786, allocations: 123.2 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.007812, allocations: 4.375 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.007835, allocations: 4.375 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.008296, allocations: 112.7 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.008309, allocations: 3.938 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.008331, allocations: 4 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.00834, allocations: 4 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.008884, allocations: 100.2 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.009614, allocations: 276.8 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008785/0.01049, allocations: 120.3 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.01077, allocations: 49.34 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.01081, allocations: 4.531 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.01084, allocations: 35.34 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.01084, allocations: 0 / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0009927/0.01184, allocations: 188 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.01191, allocations: 51.41 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.01207, allocations: 122.3 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.0121, allocations: 26.73 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.0122, allocations: 100 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.01225, allocations: 27.77 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.01232, allocations: 22.62 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.01256, allocations: 322.8 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.01282, allocations: 44.8 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.01308, allocations: 46.42 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.01359, allocations: 111.5 kB / 0.815 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.0136, allocations: 0 / 0.815 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006193/0.01421, allocations: 133.6 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.01423, allocations: 4 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01424, allocations: 1.625 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.01426, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.01449, allocations: 23.97 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.0145, allocations: 8.484 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.01466, allocations: 16.52 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01468, allocations: 1.344 kB / 0.8152 GB, free: 13.5 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.0001546/0.01483, allocations: 121.7 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.01489, allocations: 7.953 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/0.01556, allocations: 159.2 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01557, allocations: 0 / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01557, allocations: 0 / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01557, allocations: 0 / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.01586, allocations: 133.2 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01587, allocations: 0 / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.01608, allocations: 23.97 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01608, allocations: 3.938 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.0161, allocations: 4 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01611, allocations: 1.781 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01611, allocations: 0 / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007315/0.01684, allocations: 244.3 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.01686, allocations: 7.938 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.01689, allocations: 1.125 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.0171, allocations: 15.98 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.01721, allocations: 25.09 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.01723, allocations: 4 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.987e-05/0.01733, allocations: 99.2 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01733, allocations: 1.031 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003953/0.01772, allocations: 15.94 kB / 0.816 GB, free: 12.6 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.0001623/0.01788, allocations: 99.97 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005844/0.01847, allocations: 106.4 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01847, allocations: 0 / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.01878, allocations: 65.62 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.01924, allocations: 16.7 kB / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.01986, allocations: 173.2 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.01997, allocations: 77.44 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.087e-05/0.02006, allocations: 13.88 kB / 0.8165 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.02016, allocations: 24.48 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of SimCode: time 5e-07/0.02016, allocations: 0 / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.006557/0.02672, allocations: 1.709 MB / 0.8182 GB, free: 10.3 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] 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.066202057991177]