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.001618/0.001618, allocations: 116.6 kB / 17.13 MB, free: 6.004 MB / 14.72 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.001926/0.001926, allocations: 212.7 kB / 20.1 MB, free: 3.055 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.947/2.947, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9551/0.9571, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00172/0.9589, allocations: 0.7733 MB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.9596, allocations: 0.9029 MB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.9597, allocations: 0 / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.9597, allocations: 7.875 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.9598, allocations: 14.72 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.96, allocations: 43.02 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.9601, allocations: 87.31 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.9602, allocations: 19.41 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.9602, allocations: 36.45 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.9603, allocations: 47.36 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.9603, allocations: 7.5 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.9603, allocations: 8.594 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.9604, allocations: 25.36 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.9604, allocations: 32.5 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.9605, allocations: 89.2 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9605, allocations: 7.938 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9605, allocations: 3.938 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.9605, allocations: 2.75 kB / 1.324 GB, free: 23.68 MB / 1.061 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.0005317/0.9611, allocations: 392.5 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.9611, allocations: 12.11 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.9611, allocations: 14.08 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.9612, allocations: 177.9 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.9613, allocations: 11.28 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.9613, allocations: 3 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.9615, allocations: 111.5 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9616, allocations: 0 / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.9616, allocations: 4 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9616, allocations: 2.594 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.9619, allocations: 100.3 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.9623, allocations: 342.6 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.9629, allocations: 113.9 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.9631, allocations: 60.12 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.9631, allocations: 0 / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.9631, allocations: 33.38 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.9631, allocations: 0 / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006207/0.9638, allocations: 188.8 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.9638, allocations: 54.83 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.9639, allocations: 120.7 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.9639, allocations: 28.67 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.9639, allocations: 102.2 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.9639, allocations: 18.09 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.964, allocations: 22.94 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.964, allocations: 320.6 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.9642, allocations: 45 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.9644, allocations: 49.52 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.9647, allocations: 94.88 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.9647, allocations: 0 / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00038/0.9651, allocations: 141 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.9651, allocations: 5.438 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9651, allocations: 3.938 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.9651, allocations: 0 / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.9653, allocations: 29.89 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.9653, allocations: 0 / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.9654, allocations: 26.72 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.9654, allocations: 5.922 kB / 1.327 GB, free: 21.72 MB / 1.061 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.877e-05/0.9655, allocations: 112.3 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.9655, allocations: 2.594 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.9659, allocations: 158.7 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9659, allocations: 3.938 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9659, allocations: 0 / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9659, allocations: 3.938 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.9661, allocations: 201.2 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9661, allocations: 0 / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.9662, allocations: 24.14 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9662, allocations: 4 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.9662, allocations: 3.281 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.9662, allocations: 4 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9662, allocations: 2.781 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.9666, allocations: 237.2 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.9667, allocations: 84.11 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.9667, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.9668, allocations: 19.5 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.9669, allocations: 28.45 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.9669, allocations: 2.875 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.9669, allocations: 98.06 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.9669, allocations: 0 / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002264/0.9672, allocations: 15.14 kB / 1.327 GB, free: 20.94 MB / 1.061 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.0001043/0.9673, allocations: 103.8 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004564/0.9677, allocations: 103.6 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9677, allocations: 3.938 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.9679, allocations: 58.56 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.9682, allocations: 10.16 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.9686, allocations: 205.5 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.9688, allocations: 0.6915 MB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.9688, allocations: 21.22 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9688, allocations: 0 / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of Templates: time 0.003174/0.972, allocations: 1.239 MB / 1.33 GB, free: 19.83 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.302894585998729]