Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001901/0.001901, allocations: 113.3 kB / 17.08 MB, free: 5.797 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.002092/0.002092, allocations: 190.2 kB / 20.02 MB, free: 2.906 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.713/2.713, allocations: 437.1 MB / 0.7178 GB, free: 4.898 MB / 0.5606 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.89 kB / 1.028 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3031, allocations: 151.6 MB / 1.176 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001808/0.305, allocations: 0.6984 MB / 1.177 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.3059, allocations: 0.8044 MB / 1.177 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.306, allocations: 4 kB / 1.177 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.306, allocations: 3.938 kB / 1.177 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.3061, allocations: 7.938 kB / 1.177 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.231e-05/0.3062, allocations: 15.97 kB / 1.177 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.3062, allocations: 35.92 kB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3064, allocations: 23.97 kB / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.3064, allocations: 15.92 kB / 1.177 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.3065, allocations: 19.92 kB / 1.178 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3065, allocations: 8 kB / 1.178 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.3065, allocations: 4 kB / 1.178 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.3065, allocations: 7.938 kB / 1.178 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.3066, allocations: 19.86 kB / 1.178 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.814e-05/0.3067, allocations: 43.75 kB / 1.178 GB, free: 4.277 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3067, allocations: 0 / 1.178 GB, free: 4.277 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3067, allocations: 0 / 1.178 GB, free: 4.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3067, allocations: 0 / 1.178 GB, free: 4.277 MB / 0.92 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.0005671/0.3073, allocations: 373.7 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3073, allocations: 12.03 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3074, allocations: 8.828 kB / 1.178 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3075, allocations: 172.3 kB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3075, allocations: 384 / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3076, allocations: 4.375 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3078, allocations: 66.22 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3078, allocations: 192 / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3079, allocations: 7.938 kB / 1.178 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3079, allocations: 3.984 kB / 1.178 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.3082, allocations: 63.88 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3085, allocations: 268.9 kB / 1.179 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3088, allocations: 62.47 kB / 1.179 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.3089, allocations: 36.92 kB / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.309, allocations: 4 kB / 1.179 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.309, allocations: 38.48 kB / 1.179 GB, free: 3.016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.309, allocations: 0 / 1.179 GB, free: 3.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005454/0.3096, allocations: 129.6 kB / 1.179 GB, free: 2.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3096, allocations: 51.41 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3097, allocations: 109.8 kB / 1.179 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3098, allocations: 25.7 kB / 1.179 GB, free: 2.672 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.3098, allocations: 84.14 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.3099, allocations: 15.89 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3099, allocations: 17.72 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3101, allocations: 310.8 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3102, allocations: 35.95 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3103, allocations: 27.97 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.3106, allocations: 76.72 kB / 1.179 GB, free: 2.094 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3106, allocations: 7.938 kB / 1.18 GB, free: 2.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003115/0.311, allocations: 93.95 kB / 1.18 GB, free: 1.988 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.311, allocations: 4 kB / 1.18 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.311, allocations: 4 kB / 1.18 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.311, allocations: 0 / 1.18 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3111, allocations: 19.97 kB / 1.18 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3112, allocations: 0 / 1.18 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.3112, allocations: 11.98 kB / 1.18 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3112, allocations: 0 / 1.18 GB, free: 1.949 MB / 0.92 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.33e-05/0.3113, allocations: 125.7 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.3114, allocations: 11.88 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.3114, allocations: 11.91 kB / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3114, allocations: 0 / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3114, allocations: 4 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3114, allocations: 0 / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.3116, allocations: 169.6 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3116, allocations: 0 / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.3117, allocations: 15.98 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3117, allocations: 0 / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.3118, allocations: 4 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3118, allocations: 4 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3118, allocations: 0 / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.3121, allocations: 191.4 kB / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.3122, allocations: 85 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3122, allocations: 0 / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3123, allocations: 19.98 kB / 1.18 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.3124, allocations: 11.92 kB / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3124, allocations: 0 / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.3125, allocations: 83.59 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3125, allocations: 0 / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002055/0.3127, allocations: 8 kB / 1.18 GB, free: 1.117 MB / 0.92 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.0001559/0.3128, allocations: 103.2 kB / 1.18 GB, free: 1.008 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.3133, allocations: 67.92 kB / 1.181 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3133, allocations: 0 / 1.181 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3134, allocations: 31.97 kB / 1.181 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.3138, allocations: 11.94 kB / 1.181 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.3141, allocations: 155 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3145, allocations: 0.6807 MB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.3145, allocations: 7.438 kB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3146, allocations: 48 / 1.181 GB, free: 16 MB / 0.9356 GB Notification: Performance of Templates: time 0.002393/0.317, allocations: 0.7532 MB / 1.182 GB, free: 15.25 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.075344420038164]