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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 200.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003126/0.003126, allocations: 63.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9368/0.9399, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002579/0.9425, allocations: 0.7803 MB / 1.275 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.9438, allocations: 0.8701 MB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.9438, allocations: 4 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.9439, allocations: 11.81 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.944, allocations: 11.92 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.9442, allocations: 47.88 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.9443, allocations: 79.83 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.9445, allocations: 27.91 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.9446, allocations: 39.86 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.9447, allocations: 47.81 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.9447, allocations: 8 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.9447, allocations: 8 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.9448, allocations: 23.91 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.9448, allocations: 31.8 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.945, allocations: 87.52 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.945, allocations: 7.984 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.945, allocations: 0 / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.945, allocations: 4 kB / 1.276 GB, free: 2.406 MB / 0.9669 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.0007168/0.9457, allocations: 388.4 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.9458, allocations: 16.02 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.9458, allocations: 12.83 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.946, allocations: 176.3 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.946, allocations: 8.375 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.946, allocations: 8.375 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.9464, allocations: 101.5 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9464, allocations: 0 / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.9464, allocations: 4 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9464, allocations: 0 / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.9468, allocations: 107.8 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.9474, allocations: 332.7 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.9481, allocations: 122.5 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.9483, allocations: 56.81 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.9484, allocations: 3.984 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.9484, allocations: 34.56 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.9484, allocations: 0 / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007503/0.9491, allocations: 177.5 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.9492, allocations: 59.39 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.9493, allocations: 125.7 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.9493, allocations: 29.7 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.9494, allocations: 96.02 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.9494, allocations: 19.86 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.9495, allocations: 25.7 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9496, allocations: 318.8 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.9499, allocations: 47.94 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.9501, allocations: 43.95 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.9505, allocations: 105.2 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9505, allocations: 4 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004542/0.951, allocations: 133.5 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.951, allocations: 11.94 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.951, allocations: 0 / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.951, allocations: 0 / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.9512, allocations: 35.91 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.9512, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.9513, allocations: 15.92 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.9513, allocations: 7.984 kB / 1.279 GB, free: 15.61 MB / 0.9825 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.0001315/0.9515, allocations: 114.3 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.9515, allocations: 7.953 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.952, allocations: 153.9 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.952, allocations: 3.984 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.952, allocations: 3.938 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.952, allocations: 3.938 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.9523, allocations: 201.6 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9523, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.9525, allocations: 23.97 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.9525, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.9525, allocations: 7.984 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9525, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9525, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.953, allocations: 231.3 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.9531, allocations: 85.06 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.9531, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.9532, allocations: 15.98 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.9533, allocations: 31.84 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.9533, allocations: 0 / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.554e-05/0.9534, allocations: 95.27 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9534, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002415/0.9536, allocations: 16 kB / 1.28 GB, free: 14.52 MB / 0.9825 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.0001572/0.9538, allocations: 99.25 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.9543, allocations: 103.9 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9543, allocations: 0 / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.9545, allocations: 63.89 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.9548, allocations: 16.11 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.9553, allocations: 185.9 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.9557, allocations: 0.6962 MB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.048e-05/0.9558, allocations: 15.98 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.9558, allocations: 15.44 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9558, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.005013/0.9608, allocations: 1.619 MB / 1.282 GB, free: 11.66 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.194881194271147]