Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.001222/0.001222, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001247/0.001247, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.411/1.411, allocations: 225.6 MB / 248.5 MB, free: 3.598 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.584/2.584, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.91 kB / 1.057 GB, free: 1.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3538, allocations: 160.7 MB / 1.214 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002029/0.3558, allocations: 0.7049 MB / 1.215 GB, free: 96 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3569, allocations: 0.8195 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.357, allocations: 4 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.357, allocations: 3.938 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.3571, allocations: 3.938 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.3572, allocations: 15.98 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.3573, allocations: 39.91 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3574, allocations: 11.94 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.3575, allocations: 15.92 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.3576, allocations: 27.91 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3576, allocations: 4 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.3576, allocations: 4 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.3576, allocations: 11.98 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.3577, allocations: 19.86 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.3578, allocations: 43.75 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3578, allocations: 4 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3578, allocations: 0 / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3578, allocations: 0 / 1.216 GB, free: 15.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006393/0.3584, allocations: 359.3 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3585, allocations: 8.031 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.3585, allocations: 12.89 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3587, allocations: 168.3 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3587, allocations: 4.375 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.3587, allocations: 384 / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.359, allocations: 66.22 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.359, allocations: 192 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.359, allocations: 7.938 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.359, allocations: 0 / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.3593, allocations: 75.8 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3597, allocations: 264.9 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.36, allocations: 58.47 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.3601, allocations: 44.91 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3602, allocations: 3.984 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3602, allocations: 34.5 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3602, allocations: 0 / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005869/0.3608, allocations: 133.6 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3608, allocations: 51.41 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3609, allocations: 105.8 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.361, allocations: 25.7 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.361, allocations: 88.14 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.361, allocations: 11.91 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.3611, allocations: 21.7 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3613, allocations: 314.8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3614, allocations: 23.97 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3615, allocations: 35.95 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.3618, allocations: 76.72 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3618, allocations: 3.938 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003528/0.3622, allocations: 97.62 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3622, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.3622, allocations: 3.938 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3622, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3624, allocations: 19.98 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3624, allocations: 4 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.3625, allocations: 15.97 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3625, allocations: 0 / 1.218 GB, free: 12.73 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: 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 8.386e-05/0.3625, allocations: 109.8 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3626, allocations: 7.953 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.363, allocations: 113.5 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.363, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.363, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.363, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.3632, allocations: 177.5 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3632, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/0.3633, allocations: 15.98 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3633, allocations: 3.938 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3633, allocations: 4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3633, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3633, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.3637, allocations: 203.3 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.3637, allocations: 81.53 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.3637, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3639, allocations: 11.98 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3639, allocations: 7.984 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3639, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.364, allocations: 83.28 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.364, allocations: 0 / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002176/0.3642, allocations: 8 kB / 1.219 GB, free: 11.8 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: 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 0.0001497/0.3643, allocations: 107.2 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.3647, allocations: 75.84 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3647, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.3649, allocations: 31.97 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3652, allocations: 11.94 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.3655, allocations: 155.1 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3659, allocations: 0.6768 MB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.3659, allocations: 11.44 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3659, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.002269/0.3682, allocations: 0.7463 MB / 1.22 GB, free: 9.934 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.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: 10.264818385941908]