Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002001/0.002001, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002317/0.002317, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.814/2.814, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.873e-05, allocations: 4.672 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002043/0.002082, allocations: 0.6912 MB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.003458, allocations: 0.8315 MB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.003503, allocations: 4 kB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.00354, allocations: 3.938 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.003622, allocations: 15.92 kB / 0.9526 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.003738, allocations: 7.984 kB / 0.9526 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.00385, allocations: 51.8 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.003976, allocations: 7.969 kB / 0.9526 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.004069, allocations: 19.98 kB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.004126, allocations: 19.92 kB / 0.9527 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.004163, allocations: 4 kB / 0.9527 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.004178, allocations: 4 kB / 0.9527 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.004203, allocations: 11.98 kB / 0.9527 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.004232, allocations: 11.94 kB / 0.9527 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.00435, allocations: 43.91 kB / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.004354, allocations: 0 / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004354, allocations: 0 / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.004366, allocations: 0 / 0.9527 GB, free: 9.809 MB / 0.8575 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.0006126/0.004979, allocations: 292.2 kB / 0.953 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.005021, allocations: 8.031 kB / 0.953 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.005059, allocations: 4.938 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.0052, allocations: 117.7 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.005208, allocations: 384 / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.005229, allocations: 4.375 kB / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.005513, allocations: 74.09 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.005523, allocations: 192 / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.005536, allocations: 384 / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.005542, allocations: 384 / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.005849, allocations: 75.84 kB / 0.9533 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.006226, allocations: 208.6 kB / 0.9535 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.006448, allocations: 54.47 kB / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.006607, allocations: 32.92 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.006626, allocations: 4 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.006655, allocations: 30.56 kB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.006656, allocations: 4 kB / 0.9536 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005966/0.007253, allocations: 133.5 kB / 0.9537 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.007301, allocations: 59.34 kB / 0.9538 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.007399, allocations: 109.8 kB / 0.9539 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.007421, allocations: 25.7 kB / 0.9539 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.007481, allocations: 92.14 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.007505, allocations: 19.77 kB / 0.954 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.007544, allocations: 13.72 kB / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.007693, allocations: 314.8 kB / 0.9543 GB, free: 8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.00785, allocations: 31.95 kB / 0.9544 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.007993, allocations: 31.97 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.008289, allocations: 72.78 kB / 0.9545 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008291, allocations: 0 / 0.9545 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003346/0.008625, allocations: 93.62 kB / 0.9545 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.008643, allocations: 7.938 kB / 0.9546 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.008651, allocations: 4 kB / 0.9546 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.008672, allocations: 0 / 0.9546 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.008818, allocations: 27.91 kB / 0.9546 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008822, allocations: 0 / 0.9546 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.184e-05/0.008904, allocations: 11.98 kB / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.008912, allocations: 0 / 0.9546 GB, free: 7.715 MB / 0.8575 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 9.839e-05/0.00901, allocations: 113.8 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.009037, allocations: 3.953 kB / 0.9547 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.009466, allocations: 113.5 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009468, allocations: 0 / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.009473, allocations: 0 / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.009477, allocations: 3.938 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.009629, allocations: 117.3 kB / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.009629, allocations: 0 / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.009735, allocations: 19.97 kB / 0.955 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009737, allocations: 0 / 0.955 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.009745, allocations: 0 / 0.955 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.009751, allocations: 11.88 kB / 0.955 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.009753, allocations: 0 / 0.955 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.01017, allocations: 195.8 kB / 0.9552 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.01018, allocations: 7.938 kB / 0.9552 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.0102, allocations: 0 / 0.9552 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.01031, allocations: 15.92 kB / 0.9552 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.01035, allocations: 0 / 0.9552 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.01036, allocations: 8 kB / 0.9552 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.01042, allocations: 91.56 kB / 0.9553 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01042, allocations: 0 / 0.9553 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002207/0.01064, allocations: 8 kB / 0.9553 GB, free: 6.953 MB / 0.8575 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.0001392/0.01078, allocations: 95.25 kB / 0.9554 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.01116, allocations: 79.8 kB / 0.9554 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01116, allocations: 0 / 0.9554 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.01132, allocations: 35.95 kB / 0.9555 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.01165, allocations: 6.188 kB / 0.9555 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.012, allocations: 124.8 kB / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.01207, allocations: 67.34 kB / 0.9557 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.0121, allocations: 4 kB / 0.9557 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.01214, allocations: 8.5 kB / 0.9557 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.01214, allocations: 0 / 0.9557 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of Templates: time 0.003578/0.01571, allocations: 0.7304 MB / 0.9564 GB, free: 5.762 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.239892467856407]