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.001804/0.001804, allocations: 118 kB / 17.13 MB, free: 5.941 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.00198/0.00198, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.445/1.445, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.6/2.6, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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.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.001993/0.001993, allocations: 71.88 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3003, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001934/0.3023, allocations: 0.7045 MB / 1.215 GB, free: 204 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000932/0.3032, allocations: 0.8078 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.3032, allocations: 0 / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.3033, allocations: 7.922 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.3033, allocations: 15.92 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.392e-05/0.3034, allocations: 7.984 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.3035, allocations: 39.92 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3036, allocations: 19.92 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.3037, allocations: 19.92 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.3037, allocations: 15.92 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3037, allocations: 7.938 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.3037, allocations: 4 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.3038, allocations: 7.984 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.3038, allocations: 19.88 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.291e-05/0.3039, allocations: 43.8 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3039, allocations: 4 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3039, allocations: 0 / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3039, allocations: 0 / 1.216 GB, free: 15.17 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.0005744/0.3045, allocations: 363.3 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3045, allocations: 8.031 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.3045, allocations: 12.89 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3047, allocations: 168.3 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.3047, allocations: 384 / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3047, allocations: 4.375 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.305, allocations: 74.2 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.305, allocations: 192 / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.305, allocations: 7.875 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.305, allocations: 0 / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.3053, allocations: 71.86 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.3057, allocations: 260.9 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3059, allocations: 58.47 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.306, allocations: 48.91 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.306, allocations: 3.938 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3061, allocations: 30.56 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3061, allocations: 0 / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005575/0.3066, allocations: 125.6 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.3067, allocations: 51.41 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.3068, allocations: 109.8 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3068, allocations: 25.7 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.3068, allocations: 88.12 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3069, allocations: 11.91 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3069, allocations: 13.72 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.307, allocations: 314.8 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3072, allocations: 39.95 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3073, allocations: 31.91 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.3076, allocations: 68.78 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3076, allocations: 3.938 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003488/0.308, allocations: 97.95 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.308, allocations: 4 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.308, allocations: 3.938 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.308, allocations: 4 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3081, allocations: 15.97 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3081, allocations: 320 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.3082, allocations: 19.98 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3082, allocations: 3.984 kB / 1.218 GB, free: 12.84 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.457e-05/0.3083, allocations: 117.7 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.3083, allocations: 3.953 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.3084, allocations: 11.91 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3084, allocations: 3.984 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3084, allocations: 0 / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3084, allocations: 0 / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3086, allocations: 173.6 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3086, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.3087, allocations: 11.98 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3087, allocations: 7.938 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3087, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3087, allocations: 7.969 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3087, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.3091, allocations: 199.4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.3091, allocations: 81.05 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3091, allocations: 7.938 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3092, allocations: 7.984 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3093, allocations: 7.984 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3093, allocations: 0 / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.041e-05/0.3093, allocations: 99.25 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3093, allocations: 0 / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002173/0.3096, allocations: 4 kB / 1.219 GB, free: 12.01 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.0001449/0.3097, allocations: 99.25 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.3101, allocations: 63.92 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3101, allocations: 4 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3102, allocations: 39.91 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3105, allocations: 11.92 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.3109, allocations: 151.1 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.3113, allocations: 0.6807 MB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.3113, allocations: 15.44 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3113, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.002271/0.3136, allocations: 0.7382 MB / 1.22 GB, free: 10.15 MB / 0.9669 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.128002585144714]