Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001181/0.001181, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001492/0.001492, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9023/0.9023, allocations: 177.1 MB / 203.5 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.769e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00117/0.001188, allocations: 0.7563 MB / 0.9525 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.001962, allocations: 0.8937 MB / 0.9534 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.001999, allocations: 0 / 0.9534 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.002027, allocations: 7.875 kB / 0.9534 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.929e-05/0.002097, allocations: 7.875 kB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.002252, allocations: 47.81 kB / 0.9534 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.002341, allocations: 91.81 kB / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.002431, allocations: 15.98 kB / 0.9535 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-05/0.002509, allocations: 47.91 kB / 0.9536 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.002568, allocations: 39.88 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.002593, allocations: 8 kB / 0.9536 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.002604, allocations: 8 kB / 0.9536 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.002627, allocations: 23.91 kB / 0.9536 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.002655, allocations: 27.91 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.002761, allocations: 95.7 kB / 0.9538 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002762, allocations: 0 / 0.9538 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002763, allocations: 0 / 0.9538 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.002766, allocations: 4 kB / 0.9538 GB, free: 0.8789 MB / 0.9011 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.0004756/0.003242, allocations: 314 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.003276, allocations: 12.03 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.00331, allocations: 8.891 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.003404, allocations: 125.6 kB / 0.9542 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.003419, allocations: 4.375 kB / 0.9542 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.003432, allocations: 12.31 kB / 0.9542 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.003622, allocations: 106.8 kB / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.003632, allocations: 3.938 kB / 0.9543 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.003641, allocations: 0 / 0.9543 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.003645, allocations: 0 / 0.9543 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.003837, allocations: 95.91 kB / 0.9544 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.004187, allocations: 280.3 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.004522, allocations: 118.6 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.004617, allocations: 48.81 kB / 0.9548 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.004637, allocations: 11.94 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.004652, allocations: 34.55 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.004652, allocations: 0 / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003751/0.005027, allocations: 181.5 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.005055, allocations: 55.39 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.00512, allocations: 121.8 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.005132, allocations: 25.7 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.005169, allocations: 100 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.005191, allocations: 23.78 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.005224, allocations: 21.7 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.00536, allocations: 322.8 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.005453, allocations: 47.95 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.005543, allocations: 47.89 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.005722, allocations: 101.2 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.005723, allocations: 0 / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002179/0.005941, allocations: 137.5 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.005952, allocations: 8 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.005957, allocations: 3.984 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.005967, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.871e-05/0.006045, allocations: 23.97 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.00605, allocations: 3.938 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.006099, allocations: 15.98 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.006107, allocations: 4 kB / 0.9561 GB, free: 14.34 MB / 0.9167 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 5.756e-05/0.006164, allocations: 117.8 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.006179, allocations: 7.953 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.006438, allocations: 154 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.006439, allocations: 4 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.006443, allocations: 0 / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006446, allocations: 0 / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.006551, allocations: 133.2 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.006552, allocations: 0 / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.006618, allocations: 27.91 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00662, allocations: 4 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.006628, allocations: 7.938 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.00663, allocations: 3.984 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006631, allocations: 0 / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.006864, allocations: 235.3 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.00688, allocations: 15.94 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.006892, allocations: 0 / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.006956, allocations: 15.92 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.007009, allocations: 19.97 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.007015, allocations: 4 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.007049, allocations: 95.7 kB / 0.9569 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007049, allocations: 4 kB / 0.9569 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001551/0.007205, allocations: 19.94 kB / 0.9569 GB, free: 13.42 MB / 0.9167 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 6.644e-05/0.007271, allocations: 99.17 kB / 0.957 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.0075, allocations: 99.91 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007501, allocations: 4 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.912e-05/0.0076, allocations: 59.89 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.007785, allocations: 16.25 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.008077, allocations: 195.1 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.008117, allocations: 75.33 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.008165, allocations: 16.48 kB / 0.9574 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.008165, allocations: 4 kB / 0.9575 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.001721/0.009886, allocations: 1.274 MB / 0.9587 GB, free: 11.54 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.392390492372215]