Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001575/0.001575, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.0017/0.0017, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.46/1.46, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.612/2.612, allocations: 443.5 MB / 0.7293 GB, free: 14.51 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 71.89 kB / 1.057 GB, free: 1.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3128, allocations: 160.7 MB / 1.214 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002101/0.3149, allocations: 0.6555 MB / 1.215 GB, free: 196 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.3151, allocations: 11.97 kB / 1.215 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.3151, allocations: 4 kB / 1.215 GB, free: 180 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.397e-05/0.3152, allocations: 3.984 kB / 1.215 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.277e-05/0.3152, allocations: 7.938 kB / 1.215 GB, free: 168 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.329e-05/0.3153, allocations: 4 kB / 1.215 GB, free: 164 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.3154, allocations: 31.91 kB / 1.215 GB, free: 132 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3155, allocations: 23.98 kB / 1.215 GB, free: 108 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.3156, allocations: 12 kB / 1.215 GB, free: 96 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.3156, allocations: 23.86 kB / 1.215 GB, free: 72 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3156, allocations: 4 kB / 1.215 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.3156, allocations: 0 / 1.215 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.3156, allocations: 4 kB / 1.215 GB, free: 64 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.3157, allocations: 23.86 kB / 1.215 GB, free: 40 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.3158, allocations: 59.67 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3158, allocations: 0 / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3158, allocations: 0 / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3158, allocations: 0 / 1.215 GB, free: 15.98 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004008/0.3162, allocations: 357.3 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3163, allocations: 12.03 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3163, allocations: 8.891 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.3165, allocations: 172.4 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3165, allocations: 4.375 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3165, allocations: 4.375 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3166, allocations: 78.16 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3167, allocations: 4.188 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3167, allocations: 7.938 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3167, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.3167, allocations: 43.97 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.3173, allocations: 499.1 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.245e-05/0.3174, allocations: 165.1 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.3174, allocations: 80.14 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.3175, allocations: 75.28 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.3175, allocations: 113.8 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3175, allocations: 0 / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.749e-05/0.3176, allocations: 37.7 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.3177, allocations: 130.6 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.3179, allocations: 179.3 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3179, allocations: 29.64 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.318, allocations: 96.12 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.318, allocations: 4 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.318, allocations: 13.72 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3182, allocations: 318.8 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.3182, allocations: 7.984 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.3182, allocations: 4 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.3182, allocations: 20.84 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3182, allocations: 4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001199/0.3184, allocations: 57.64 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3184, allocations: 8 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3184, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3184, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.3184, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3185, allocations: 7.938 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.3185, allocations: 11.92 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3185, allocations: 0 / 1.217 GB, free: 13.25 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 (1): * Single equations (assignments): 1 * 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.0001142/0.3186, allocations: 189.2 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.3187, allocations: 120.9 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.3188, allocations: 108.9 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.27e-05/0.3188, allocations: 180.3 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.226e-05/0.3189, allocations: 188.1 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-05/0.319, allocations: 184.2 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.3194, allocations: 425.1 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/0.3194, allocations: 101.7 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.3195, allocations: 101 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.502e-05/0.3196, allocations: 184.2 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.3196, allocations: 184.3 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.462e-05/0.3197, allocations: 180.2 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.778e-05/0.3198, allocations: 188.2 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.32, allocations: 308 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3201, allocations: 194.1 kB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.3202, allocations: 184.2 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.3203, allocations: 109 kB / 1.22 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.3204, allocations: 184.1 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.3204, allocations: 108.9 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001103/0.3206, allocations: 129.4 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3206, allocations: 0 / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002412/0.3208, allocations: 8 kB / 1.221 GB, free: 9.543 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 (0): * Single equations (assignments): 0 * 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.0001671/0.321, allocations: 178.5 kB / 1.221 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.499e-05/0.321, allocations: 8 kB / 1.221 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.321, allocations: 0 / 1.221 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.199e-06/0.321, allocations: 11.88 kB / 1.221 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.3215, allocations: 459.7 kB / 1.221 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.3219, allocations: 245.9 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.3223, allocations: 0.6923 MB / 1.222 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.3223, allocations: 11.44 kB / 1.222 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3223, allocations: 0 / 1.222 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of Templates: time 0.002264/0.3246, allocations: 0.7638 MB / 1.223 GB, free: 7.121 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.32029600488022]