Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001336/0.001336, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001415/0.001415, allocations: 193.9 kB / 22.17 MB, free: 5.652 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.437/1.437, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.773/2.773, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.764, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001946/0.7659, allocations: 0.7658 MB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.767, allocations: 0.8741 MB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.767, allocations: 4 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.767, allocations: 3.938 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.7671, allocations: 11.86 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.7673, allocations: 47.83 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.7674, allocations: 83.88 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.7675, allocations: 15.98 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.7676, allocations: 43.84 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.7677, allocations: 51.75 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.7677, allocations: 12 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.823e-05/0.7678, allocations: 8 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.7678, allocations: 19.92 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.7678, allocations: 31.84 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.768, allocations: 94.27 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.768, allocations: 0 / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.768, allocations: 4 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.768, allocations: 0 / 1.276 GB, free: 2.469 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.0006808/0.7687, allocations: 399.1 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.7687, allocations: 8.031 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.7687, allocations: 12.89 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.7689, allocations: 180.2 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.769, allocations: 4.375 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.769, allocations: 8.375 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.7693, allocations: 101.5 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7693, allocations: 4 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.7693, allocations: 4 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7693, allocations: 7.922 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.7697, allocations: 99.89 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.7703, allocations: 336.6 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.7709, allocations: 122.6 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.7711, allocations: 48.81 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.7711, allocations: 3.938 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.7712, allocations: 42.5 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.7712, allocations: 0 / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000696/0.7719, allocations: 177.5 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.7719, allocations: 55.41 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.772, allocations: 133.7 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.772, allocations: 29.7 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.7721, allocations: 96.03 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.7721, allocations: 23.83 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.7722, allocations: 25.7 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7723, allocations: 314.8 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.7725, allocations: 43.95 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.7727, allocations: 48.03 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.7731, allocations: 104.7 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7731, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004344/0.7735, allocations: 137.6 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7735, allocations: 4 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7735, allocations: 3.984 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7736, allocations: 0 / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.7737, allocations: 23.97 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.7737, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.7739, allocations: 15.92 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.7739, allocations: 4 kB / 1.279 GB, free: 15.67 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,min1.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 9.471e-05/0.774, allocations: 122.3 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.774, allocations: 3.953 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.7745, allocations: 158.3 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7745, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7745, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7745, allocations: 7.938 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.7748, allocations: 205.5 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7748, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.7749, allocations: 27.91 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7749, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.7749, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.7749, allocations: 8 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7749, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.7754, allocations: 243.4 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.7755, allocations: 89 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.7755, allocations: 3.984 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.7757, allocations: 11.98 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.7757, allocations: 23.92 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.7758, allocations: 3.984 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.7758, allocations: 99.27 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.7758, allocations: 0 / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002402/0.7761, allocations: 16 kB / 1.28 GB, free: 14.57 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 (min1.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.0001302/0.7762, allocations: 99.19 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.7767, allocations: 108 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7767, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.7769, allocations: 59.88 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.7772, allocations: 14.5 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.7777, allocations: 182 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.778, allocations: 0.7001 MB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.988e-05/0.778, allocations: 8 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.7781, allocations: 23.42 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.7781, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.004408/0.7825, allocations: 1.599 MB / 1.282 GB, free: 11.73 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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: 8.54483188688755]