Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001539/0.001539, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002034/0.002034, allocations: 161.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.992/2.992, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0.875 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.182e-05/4.477e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002558/0.002602, allocations: 0.7016 MB / 0.8116 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.004095, allocations: 0.8276 MB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.004153, allocations: 0 / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.00419, allocations: 3.938 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.004301, allocations: 11.86 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.049e-05/0.004381, allocations: 13.33 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.004499, allocations: 47.84 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004614, allocations: 4 kB / 0.8124 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.004738, allocations: 29.56 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.004788, allocations: 15.92 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.00481, allocations: 4 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.004821, allocations: 4 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.00484, allocations: 4.719 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.00488, allocations: 15.97 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.004993, allocations: 36.41 kB / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.005001, allocations: 5.469 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005002, allocations: 0 / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.005008, allocations: 0 / 0.8126 GB, free: 324 kB / 0.7605 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.0006621/0.00567, allocations: 290.7 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.005738, allocations: 9.453 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.005793, allocations: 8.891 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.00596, allocations: 105.7 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.005979, allocations: 8.375 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.005993, allocations: 5.516 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.006302, allocations: 75.53 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.006313, allocations: 192 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.006326, allocations: 384 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.006332, allocations: 384 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.00664, allocations: 65.28 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.00703, allocations: 209.1 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.007263, allocations: 55.86 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.007435, allocations: 46.06 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.00745, allocations: 0 / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.007485, allocations: 36.41 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.007486, allocations: 0 / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006106/0.008096, allocations: 139.9 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.008147, allocations: 51.41 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.008299, allocations: 105.8 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.008322, allocations: 25.7 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.008395, allocations: 96.61 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.008417, allocations: 11.89 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.008455, allocations: 15.66 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.008629, allocations: 314.8 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.008791, allocations: 31.97 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.008936, allocations: 33.95 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.009229, allocations: 65.39 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009231, allocations: 0.5312 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003517/0.009583, allocations: 111.2 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.009606, allocations: 9.125 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.009613, allocations: 0 / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.009634, allocations: 0 / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.009773, allocations: 16.83 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.009779, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.009859, allocations: 15.17 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.009867, allocations: 320 / 0.8144 GB, free: 14.25 MB / 0.7761 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 0.0001106/0.009977, allocations: 113.8 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.01001, allocations: 7.984 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.01004, allocations: 11.94 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01004, allocations: 0 / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.01004, allocations: 336 / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.01005, allocations: 2.406 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.01022, allocations: 113.3 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01022, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.01033, allocations: 15.98 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01033, allocations: 3.984 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.01034, allocations: 0 / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.01034, allocations: 4.906 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01034, allocations: 3.938 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.01077, allocations: 197.6 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.01078, allocations: 3.938 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01079, allocations: 0 / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.01093, allocations: 21.05 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.01098, allocations: 3.984 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01098, allocations: 4.969 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.01105, allocations: 91.25 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01105, allocations: 0 / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000228/0.01128, allocations: 9.531 kB / 0.815 GB, free: 13.6 MB / 0.7761 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.000154/0.01143, allocations: 91.25 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.01179, allocations: 73.86 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01179, allocations: 0 / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.01196, allocations: 32.72 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.01231, allocations: 14.98 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.01271, allocations: 126.4 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.977e-05/0.0128, allocations: 75.09 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.01285, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.01295, allocations: 18.84 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01295, allocations: 0 / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of Templates: time 0.003439/0.01639, allocations: 0.7427 MB / 0.8162 GB, free: 12.41 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.945747178979218]