Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001393/0.001393, allocations: 110 kB / 18.93 MB, free: 2.945 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.001537/0.001537, allocations: 181 kB / 22.22 MB, free: 5.16 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.58/1.58, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 443.4 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 64.08 kB / 1.061 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 160.8 MB / 1.218 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002204/1.145, allocations: 0.7779 MB / 1.219 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001319/1.147, allocations: 0.8777 MB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/1.147, allocations: 1.219 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/1.147, allocations: 7.875 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/1.147, allocations: 5.406 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/1.147, allocations: 43.47 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/1.147, allocations: 86.2 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/1.147, allocations: 34.59 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/1.147, allocations: 38.61 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/1.147, allocations: 56.84 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/1.148, allocations: 8.469 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/1.148, allocations: 7.188 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/1.148, allocations: 19.52 kB / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/1.148, allocations: 29.58 kB / 1.22 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/1.148, allocations: 95.08 kB / 1.221 GB, free: 2.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.148, allocations: 0 / 1.221 GB, free: 2.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/1.148, allocations: 0 / 1.221 GB, free: 2.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.433e-06/1.148, allocations: 1.219 kB / 1.221 GB, free: 2.234 MB / 0.92 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.0007322/1.149, allocations: 402.5 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.149, allocations: 9.938 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/1.149, allocations: 12.42 kB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/1.149, allocations: 184.4 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/1.149, allocations: 3.031 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/1.149, allocations: 9.031 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/1.149, allocations: 104.1 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.149, allocations: 4 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/1.149, allocations: 1.094 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.149, allocations: 1.094 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/1.15, allocations: 100.2 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/1.15, allocations: 333.8 kB / 1.222 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/1.151, allocations: 120.8 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.151, allocations: 52.91 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.151, allocations: 5.047 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.151, allocations: 39.89 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/1.151, allocations: 0 / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006948/1.152, allocations: 180.9 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/1.152, allocations: 56.69 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.152, allocations: 133 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/1.152, allocations: 30.77 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/1.152, allocations: 95.03 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/1.152, allocations: 21.94 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/1.152, allocations: 19.91 kB / 1.222 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.152, allocations: 321 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/1.153, allocations: 44.17 kB / 1.223 GB, free: 180 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/1.153, allocations: 48.92 kB / 1.223 GB, free: 156 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/1.153, allocations: 102.3 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.153, allocations: 0 / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004183/1.154, allocations: 132.7 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.154, allocations: 9.062 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.154, allocations: 0 / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.154, allocations: 5.297 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/1.154, allocations: 28.28 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.154, allocations: 0 / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/1.154, allocations: 15.45 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.154, allocations: 2.156 kB / 1.223 GB, free: 15.99 MB / 0.9356 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.0001153/1.154, allocations: 126 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/1.154, allocations: 6.016 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/1.155, allocations: 160.2 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.155, allocations: 1.094 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.155, allocations: 4 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/1.155, allocations: 8.938 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/1.155, allocations: 199.3 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.155, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/1.155, allocations: 28.66 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.155, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.155, allocations: 5.094 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.155, allocations: 4.719 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.155, allocations: 0.7188 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/1.156, allocations: 236.1 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/1.156, allocations: 86.06 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/1.156, allocations: 9.047 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/1.156, allocations: 11.48 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/1.156, allocations: 24.91 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.156, allocations: 7.281 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.988e-05/1.156, allocations: 93.33 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.156, allocations: 0 / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002423/1.156, allocations: 15.72 kB / 1.224 GB, free: 15.09 MB / 0.9356 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.0001444/1.156, allocations: 93.47 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004592/1.157, allocations: 108.8 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.157, allocations: 0 / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.157, allocations: 62.14 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/1.157, allocations: 12.3 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/1.158, allocations: 176.3 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/1.158, allocations: 0.6982 MB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.752e-05/1.158, allocations: 14.64 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/1.158, allocations: 18.5 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.158, allocations: 0 / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.005215/1.164, allocations: 1.621 MB / 1.227 GB, free: 13.21 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.801813709549606]