Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001176/0.001176, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001632/0.001632, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.509/1.509, allocations: 225.6 MB / 249.4 MB, free: 3.117 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3829, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002476/0.3854, allocations: 0.7856 MB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.387, allocations: 0.8663 MB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.3871, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.639e-05/0.3872, allocations: 11.86 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.3873, allocations: 15.88 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.3876, allocations: 43.89 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3878, allocations: 87.75 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.388, allocations: 19.98 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3881, allocations: 35.91 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3883, allocations: 51.81 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.3883, allocations: 8 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.474e-05/0.3883, allocations: 8 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.3884, allocations: 15.92 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.3884, allocations: 39.78 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.3887, allocations: 95.59 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.3888, allocations: 0 / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3888, allocations: 0 / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.3888, allocations: 3.938 kB / 1.218 GB, free: 13.2 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.001001/0.3898, allocations: 399.1 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.3898, allocations: 12.03 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.3899, allocations: 8.891 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3901, allocations: 172.3 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3902, allocations: 4.375 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3902, allocations: 8.359 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.3906, allocations: 117.5 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3906, allocations: 0 / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.3906, allocations: 0 / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3906, allocations: 4 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.391, allocations: 95.91 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007602/0.3918, allocations: 344.6 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.3925, allocations: 118.5 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.3927, allocations: 57.89 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.3927, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.799e-05/0.3928, allocations: 30.56 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3928, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007396/0.3935, allocations: 193.4 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3936, allocations: 51.41 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3937, allocations: 121.8 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3938, allocations: 29.7 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.3938, allocations: 96.08 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.3939, allocations: 23.8 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.3939, allocations: 25.7 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3941, allocations: 322.8 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.3943, allocations: 51.89 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.3945, allocations: 43.95 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.3948, allocations: 92.78 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3948, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004035/0.3952, allocations: 145.4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3952, allocations: 4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3952, allocations: 4 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3952, allocations: 0 / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.3954, allocations: 27.97 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3954, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3955, allocations: 23.91 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3955, allocations: 0 / 1.221 GB, free: 10.4 MB / 0.9669 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 0.0001065/0.3957, allocations: 113.8 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.3957, allocations: 7.953 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.3962, allocations: 157.9 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3962, allocations: 4 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3962, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3962, allocations: 3.938 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3964, allocations: 189.6 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3964, allocations: 3.984 kB / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.3966, allocations: 27.97 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3966, allocations: 4 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3966, allocations: 4 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3966, allocations: 0 / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3966, allocations: 0.625 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.3971, allocations: 247.2 kB / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.3971, allocations: 89 kB / 1.221 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3971, allocations: 0 / 1.221 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3973, allocations: 19.97 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.3974, allocations: 19.92 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3974, allocations: 4 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.984e-05/0.3975, allocations: 95.7 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3975, allocations: 0 / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002361/0.3977, allocations: 15.94 kB / 1.222 GB, free: 9.316 MB / 0.9669 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.0001732/0.3979, allocations: 107.2 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.3983, allocations: 99.84 kB / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3983, allocations: 0 / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.3985, allocations: 67.94 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3989, allocations: 13.73 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.3994, allocations: 186.1 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.3997, allocations: 0.6962 MB / 1.223 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.449e-05/0.3998, allocations: 8 kB / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.3999, allocations: 19.42 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.3999, allocations: 3.938 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of Templates: time 0.004417/0.4043, allocations: 1.615 MB / 1.224 GB, free: 6.453 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.676313828676939]