Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.002147/0.002147, 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.00246/0.00246, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.912/2.912, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.822e-05/4.146e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002914/0.002956, allocations: 0.6788 MB / 0.8115 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.004743, allocations: 0.8714 MB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.00478, allocations: 0 / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.004816, allocations: 6.156 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.004887, allocations: 0 / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.00508, allocations: 11.98 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.005427, allocations: 19.94 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005541, allocations: 7.984 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.005646, allocations: 21.22 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.005692, allocations: 7.984 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.005711, allocations: 0 / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.005724, allocations: 4 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.005748, allocations: 9.578 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.005775, allocations: 0 / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.005892, allocations: 35.83 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005894, allocations: 0 / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005895, allocations: 0 / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005899, allocations: 1.844 kB / 0.8125 GB, free: 372 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005785/0.006478, allocations: 254.4 kB / 0.8127 GB, free: 84 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.006524, allocations: 12.03 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.006583, allocations: 4.891 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.006761, allocations: 106.5 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.006774, allocations: 384 / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.006785, allocations: 0.9062 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.007029, allocations: 50.95 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.007038, allocations: 0.7188 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.00705, allocations: 4.312 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.007055, allocations: 1.688 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.007315, allocations: 40.42 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.007751, allocations: 188.6 kB / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.007951, allocations: 43.95 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.008089, allocations: 22.06 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.008112, allocations: 0 / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.00816, allocations: 34.5 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.00816, allocations: 1.281 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0005418/0.008702, allocations: 90.78 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.008764, allocations: 51.41 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.008895, allocations: 102.5 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.008927, allocations: 29.69 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.009002, allocations: 81.42 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.009026, allocations: 7.953 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.009079, allocations: 13.72 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.009312, allocations: 310.8 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.009453, allocations: 20.83 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.009576, allocations: 21.12 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.009816, allocations: 38.14 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009818, allocations: 0 / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003205/0.01014, allocations: 71.34 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01016, allocations: 8 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01016, allocations: 6.531 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.01018, allocations: 0 / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.01031, allocations: 11.98 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01032, allocations: 0 / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.01037, allocations: 4 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.01038, allocations: 0 / 0.8141 GB, free: 14.61 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 (2): * Single equations (assignments): 2 * 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.0001093/0.01049, allocations: 118.2 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.01051, allocations: 4.531 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.01054, allocations: 11.25 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.01054, allocations: 1.938 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01054, allocations: 0 / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01055, allocations: 4 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.0107, allocations: 105.3 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.0107, allocations: 0 / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.01076, allocations: 8.906 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01076, allocations: 0 / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.01077, allocations: 4.766 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01077, allocations: 3.938 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01077, allocations: 0.6562 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.01105, allocations: 162.5 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.01106, allocations: 3.984 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.01107, allocations: 0 / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.01115, allocations: 7.938 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.01121, allocations: 15.92 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.01121, allocations: 0 / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.01126, allocations: 81.78 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01126, allocations: 0 / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000222/0.01148, allocations: 4 kB / 0.8146 GB, free: 14.04 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 (2): * Single equations (assignments): 2 * 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.000124/0.01161, allocations: 91.25 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.01182, allocations: 36.89 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.01183, allocations: 4 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.01191, allocations: 21.11 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.01222, allocations: 11.55 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.01252, allocations: 104.7 kB / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.295e-05/0.01259, allocations: 72.16 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.01261, allocations: 0 / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.01265, allocations: 17.56 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of SimCode: time 3.21e-07/0.01265, allocations: 0 / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.002775/0.01542, allocations: 474.8 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.029805278056301]