Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.0007733/0.0007733, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009882/0.001761, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006949/0.0006949, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008994/0.001594, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08796/1.094, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.422/2.422, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.254/2.676, allocations: 145.9 MB / 0.817 GB, free: 4.18 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.8184 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.454e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001099/0.001114, allocations: 0.7552 MB / 0.8191 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.001857, allocations: 0.8548 MB / 0.8199 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.001884, allocations: 0 / 0.8199 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.001903, allocations: 7.922 kB / 0.8199 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.356e-05/0.001937, allocations: 15.88 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.144e-05/0.001988, allocations: 11.98 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.027e-05/0.002059, allocations: 39.86 kB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.153e-05/0.00213, allocations: 8 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.002235, allocations: 31.95 kB / 0.8201 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.002279, allocations: 15.92 kB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.002299, allocations: 4 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.002308, allocations: 4 kB / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.002321, allocations: 4 kB / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.002342, allocations: 15.94 kB / 0.8201 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.077e-05/0.002413, allocations: 23.92 kB / 0.8201 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.002426, allocations: 0 / 0.8201 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002427, allocations: 3.938 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.002439, allocations: 0 / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003334/0.002772, allocations: 264.4 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.002805, allocations: 12.62 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.002829, allocations: 0.9375 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.002908, allocations: 113.7 kB / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.002917, allocations: 4.375 kB / 0.8205 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.002925, allocations: 8.375 kB / 0.8205 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.003037, allocations: 58.94 kB / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.003042, allocations: 4.188 kB / 0.8206 GB, free: 488 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.003049, allocations: 384 / 0.8206 GB, free: 488 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.003054, allocations: 4.359 kB / 0.8206 GB, free: 484 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.003079, allocations: 15.92 kB / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.003291, allocations: 156.2 kB / 0.8207 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.003346, allocations: 26.64 kB / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.003363, allocations: 8.859 kB / 0.8208 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.003382, allocations: 4 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.003401, allocations: 30.56 kB / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.003402, allocations: 0 / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.000105/0.003507, allocations: 49.66 kB / 0.8208 GB, free: 148 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.003535, allocations: 51.41 kB / 0.8209 GB, free: 84 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.003599, allocations: 114.7 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.003609, allocations: 25.7 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.003639, allocations: 92.11 kB / 0.8211 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.003656, allocations: 11.91 kB / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.003678, allocations: 9.719 kB / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.003753, allocations: 318.8 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.003764, allocations: 7.984 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.003774, allocations: 4 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.003799, allocations: 16.8 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003801, allocations: 0 / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.428e-05/0.003845, allocations: 37.69 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.003856, allocations: 4 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.003859, allocations: 0 / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.00387, allocations: 7.922 kB / 0.8215 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.003946, allocations: 15.94 kB / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.003948, allocations: 0 / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.003971, allocations: 19.92 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.003977, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.51e-05/0.004022, allocations: 105.8 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.004035, allocations: 4 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.514e-05/0.00411, allocations: 53.61 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.004114, allocations: 3.938 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.004116, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.004118, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.962e-05/0.004198, allocations: 73.88 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004199, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.004231, allocations: 12 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.004241, allocations: 15.94 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.004242, allocations: 384 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.004246, allocations: 0 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004247, allocations: 0 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.004248, allocations: 3.938 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.533e-05/0.004324, allocations: 143.5 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.004333, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.004367, allocations: 7.984 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.004394, allocations: 4 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.004399, allocations: 7.938 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.147e-05/0.00441, allocations: 17.16 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004411, allocations: 0 / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00011/0.004521, allocations: 12 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 6.497e-05/0.004585, allocations: 72.42 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.004642, allocations: 20.84 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.004647, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.004665, allocations: 12.8 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.004801, allocations: 8.234 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.005146, allocations: 136.5 kB / 0.8222 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.005179, allocations: 59.34 kB / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.005197, allocations: 0 / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.005242, allocations: 59.31 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.005243, allocations: 0 / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of Templates: time 0.002013/0.007256, allocations: 0.7062 MB / 0.823 GB, free: 13.74 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.149624018929899]