Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0008875/0.0008875, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001986, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006846/0.0006846, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009203/0.001605, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9228/0.9228, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09257/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.886/1.886, allocations: 378.3 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.574/2.461, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.075e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001539/0.00156, allocations: 0.7593 MB / 0.7305 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007621/0.002322, allocations: 0.8559 MB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.00235, allocations: 0 / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.002373, allocations: 10.64 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.002414, allocations: 11 kB / 0.7313 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.572e-05/0.00247, allocations: 11.98 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.00255, allocations: 43.53 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.461e-05/0.002624, allocations: 8.766 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.002715, allocations: 38.14 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.002764, allocations: 13.41 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.002787, allocations: 6.281 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.002798, allocations: 4 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.002815, allocations: 6.516 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.002835, allocations: 9.609 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.246e-05/0.002918, allocations: 22 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.00293, allocations: 5.875 kB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00293, allocations: 0 / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.002944, allocations: 0.6562 kB / 0.7315 GB, free: 2.598 MB / 0.698 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.0044/0.007344, allocations: 257.2 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.007381, allocations: 8.031 kB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.007415, allocations: 5.438 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.351e-05/0.007508, allocations: 117.6 kB / 0.7318 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.00752, allocations: 8.953 kB / 0.7318 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.007532, allocations: 1.094 kB / 0.7318 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.007665, allocations: 64.19 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.007671, allocations: 192 / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00768, allocations: 5.531 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.007686, allocations: 4.359 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.007712, allocations: 11.94 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.007941, allocations: 153.2 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.008006, allocations: 27.41 kB / 0.7321 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.008028, allocations: 10.58 kB / 0.7321 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.008044, allocations: 0 / 0.7321 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.008065, allocations: 30.56 kB / 0.7321 GB, free: 1.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.008066, allocations: 0 / 0.7321 GB, free: 1.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001229/0.008189, allocations: 50.47 kB / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.008217, allocations: 51.41 kB / 0.7322 GB, free: 1.703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.008279, allocations: 120.2 kB / 0.7324 GB, free: 1.574 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.008291, allocations: 29.7 kB / 0.7324 GB, free: 1.539 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.008325, allocations: 93.69 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.008342, allocations: 7.953 kB / 0.7325 GB, free: 1.438 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.008369, allocations: 9.719 kB / 0.7325 GB, free: 1.422 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.008444, allocations: 318.8 kB / 0.7328 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.008455, allocations: 0.875 kB / 0.7328 GB, free: 1.102 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.008465, allocations: 4 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.008494, allocations: 22.48 kB / 0.7328 GB, free: 1.074 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.008496, allocations: 0 / 0.7328 GB, free: 1.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.887e-05/0.008555, allocations: 37.64 kB / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.008566, allocations: 9.734 kB / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.00857, allocations: 0 / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.008584, allocations: 7.938 kB / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.008661, allocations: 13.09 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.008663, allocations: 1.125 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.008691, allocations: 7.984 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.008697, allocations: 0 / 0.7329 GB, free: 0.9961 MB / 0.698 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.891e-05/0.008746, allocations: 110.4 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.008764, allocations: 5.125 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.008843, allocations: 53.94 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.008846, allocations: 3.938 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.008847, allocations: 0.625 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.008851, allocations: 4.031 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.008952, allocations: 74.36 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.008952, allocations: 0.9375 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.008991, allocations: 11.98 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.008999, allocations: 12.47 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.009, allocations: 0 / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.009004, allocations: 1.562 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009005, allocations: 0 / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009007, allocations: 3.938 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.725e-05/0.009084, allocations: 139.5 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.009093, allocations: 1.219 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.009147, allocations: 11.98 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.009175, allocations: 0 / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.00918, allocations: 9.125 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.47e-05/0.009195, allocations: 16.84 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.009195, allocations: 0 / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001694/0.009364, allocations: 8.875 kB / 0.7333 GB, free: 496 kB / 0.698 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 7.129e-05/0.009436, allocations: 76.95 kB / 0.7334 GB, free: 412 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.067e-05/0.009496, allocations: 17.59 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.009501, allocations: 0 / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.009529, allocations: 13.61 kB / 0.7334 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.009725, allocations: 73.55 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.01314, allocations: 129.9 kB / 0.7336 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.01318, allocations: 67.22 kB / 0.7337 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.0132, allocations: 1.25 kB / 0.7337 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.01327, allocations: 51.38 kB / 0.7338 GB, free: 16 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.01327, allocations: 0 / 0.7338 GB, free: 16 MB / 0.7136 GB Notification: Performance of Templates: time 0.004704/0.01798, allocations: 0.6955 MB / 0.7344 GB, free: 15.34 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.926749446429312]