Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.0007705/0.0007705, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.001915, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001064/0.001064, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002414, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9418/0.9418, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1067/1.048, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.467/2.467, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2366/2.703, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.8184 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.514e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001397/0.001423, allocations: 0.7574 MB / 0.8191 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.002159, allocations: 0.8509 MB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.002191, allocations: 4 kB / 0.8199 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.002214, allocations: 3.938 kB / 0.8199 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/0.002254, allocations: 11.86 kB / 0.82 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.993e-05/0.002314, allocations: 15.98 kB / 0.82 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.002382, allocations: 39.86 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.343e-05/0.002456, allocations: 11.98 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.002533, allocations: 23.98 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.002578, allocations: 27.89 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.002598, allocations: 4 kB / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-06/0.002606, allocations: 4 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.002619, allocations: 4 kB / 0.8201 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.002639, allocations: 11.94 kB / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.991e-05/0.002709, allocations: 23.92 kB / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.00272, allocations: 0 / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002722, allocations: 0 / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.002733, allocations: 0 / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003499/0.003083, allocations: 256.5 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.00312, allocations: 16.62 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.003146, allocations: 8.812 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.003288, allocations: 113.7 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.003298, allocations: 4.375 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.003306, allocations: 384 / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.003414, allocations: 66.92 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.003419, allocations: 192 / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.003427, allocations: 4.375 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003431, allocations: 384 / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.003456, allocations: 11.94 kB / 0.8206 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.003656, allocations: 160.2 kB / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/0.003712, allocations: 22.58 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.003727, allocations: 8.859 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.003747, allocations: 4.078 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.003768, allocations: 34.62 kB / 0.8208 GB, free: 248 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.003769, allocations: 0 / 0.8208 GB, free: 248 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001024/0.003871, allocations: 49.75 kB / 0.8208 GB, free: 192 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.003899, allocations: 51.41 kB / 0.8209 GB, free: 128 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.764e-05/0.003947, allocations: 110.7 kB / 0.821 GB, free: 4 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.003966, allocations: 29.7 kB / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.00399, allocations: 84.14 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.004036, allocations: 15.89 kB / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.00406, allocations: 13.72 kB / 0.8211 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.00413, allocations: 318.8 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.004146, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.004158, allocations: 7.984 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.004186, allocations: 12.84 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.004189, allocations: 4 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.928e-05/0.004238, allocations: 41.62 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.004249, allocations: 4 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004253, allocations: 4 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.004262, allocations: 3.938 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.00434, allocations: 11.98 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.004343, allocations: 4 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.004366, allocations: 7.938 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.004373, allocations: 0 / 0.8215 GB, free: 15.42 MB / 0.8073 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 (3): * Single equations (assignments): 3 * 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.588e-05/0.004419, allocations: 117.8 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.004432, allocations: 7.984 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.004498, allocations: 49.62 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.004501, allocations: 3.938 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.004503, allocations: 4 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004506, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.563e-05/0.004582, allocations: 69.89 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.004582, allocations: 0 / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.004611, allocations: 11.98 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.004619, allocations: 11.95 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.00462, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-06/0.004624, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004624, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.004626, allocations: 3.938 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.456e-05/0.00469, allocations: 143.5 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.004698, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.004732, allocations: 7.984 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.004762, allocations: 15.98 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.004765, allocations: 3.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.041e-05/0.004776, allocations: 8.859 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004776, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001086/0.004884, allocations: 8 kB / 0.822 GB, free: 14.91 MB / 0.8073 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 (3): * Single equations (assignments): 3 * 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 7.292e-05/0.004957, allocations: 72.42 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.832e-05/0.005016, allocations: 24.84 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.005022, allocations: 4 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.00504, allocations: 13.12 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.005176, allocations: 11.98 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.005504, allocations: 128.5 kB / 0.8222 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.005541, allocations: 59.34 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.005561, allocations: 4.094 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.005603, allocations: 51.38 kB / 0.8223 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.005603, allocations: 0 / 0.8223 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.001925/0.007528, allocations: 0.7014 MB / 0.823 GB, free: 13.79 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.171337058767676]