Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001506/0.001506, allocations: 110 kB / 18.93 MB, free: 2.945 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.001752/0.001752, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.521/1.521, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.008/3.008, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.91 kB / 1.11 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287/1.289, allocations: 168.8 MB / 1.274 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002802/1.292, allocations: 1.228 MB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003208/1.292, allocations: 55.83 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/1.292, allocations: 0 / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/1.292, allocations: 0 / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/1.293, allocations: 3.984 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/1.293, allocations: 7.938 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/1.293, allocations: 27.91 kB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/1.293, allocations: 0 / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.421e-05/1.293, allocations: 4 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/1.293, allocations: 16.66 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/1.293, allocations: 4 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.001e-05/1.293, allocations: 8 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/1.293, allocations: 52.38 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/1.293, allocations: 39.69 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/1.293, allocations: 69.98 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.294, allocations: 0 / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.664e-06/1.294, allocations: 4 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.294, allocations: 3.984 kB / 1.276 GB, free: 2.727 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005712/1.294, allocations: 349.6 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/1.294, allocations: 8.031 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.974e-05/1.294, allocations: 92.06 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/1.294, allocations: 221.5 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/1.295, allocations: 154.7 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/1.295, allocations: 154.5 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.877e-05/1.295, allocations: 105 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/1.295, allocations: 75.28 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/1.295, allocations: 150.6 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-05/1.295, allocations: 154.6 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/1.295, allocations: 154.6 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/1.295, allocations: 472.8 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/1.296, allocations: 181 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/1.296, allocations: 80.14 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/1.296, allocations: 79.27 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/1.296, allocations: 105.8 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/1.296, allocations: 4 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.909e-05/1.296, allocations: 41.55 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/1.296, allocations: 126.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/1.296, allocations: 239 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/1.296, allocations: 25.7 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/1.296, allocations: 112.1 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/1.296, allocations: 0 / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/1.296, allocations: 41.69 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.297, allocations: 326.8 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/1.297, allocations: 55.91 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/1.297, allocations: 62.2 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/1.297, allocations: 135.4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.297, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003778/1.297, allocations: 177.4 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.297, allocations: 4 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.297, allocations: 0 / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.297, allocations: 0 / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.487e-06/1.297, allocations: 8.062 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.297, allocations: 0 / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/1.297, allocations: 15.84 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/1.297, allocations: 7.938 kB / 1.28 GB, free: 14.7 MB / 0.9825 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): 0 * Array equations: 1 * 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.000175/1.298, allocations: 211.2 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/1.298, allocations: 116.8 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.104e-05/1.298, allocations: 117.4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001069/1.298, allocations: 184.3 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.401e-05/1.298, allocations: 184.2 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/1.298, allocations: 177.9 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/1.298, allocations: 412.2 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-05/1.299, allocations: 104.9 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/1.299, allocations: 101 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-05/1.299, allocations: 188.2 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/1.299, allocations: 176.3 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.234e-05/1.299, allocations: 188.3 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.358e-05/1.299, allocations: 180.2 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/1.299, allocations: 319.6 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/1.299, allocations: 120.9 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.299, allocations: 176.3 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/1.299, allocations: 109.2 kB / 1.282 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.3, allocations: 176.3 kB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/1.3, allocations: 104.9 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001425/1.3, allocations: 160.6 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.3, allocations: 0 / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002895/1.3, allocations: 20 kB / 1.283 GB, free: 11.05 MB / 0.9825 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.0002102/1.3, allocations: 174.5 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001673/1.3, allocations: 71.94 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.3, allocations: 0 / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/1.3, allocations: 0 / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/1.301, allocations: 470.1 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/1.301, allocations: 305.9 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/1.302, allocations: 0.708 MB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.289e-05/1.302, allocations: 11.98 kB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/1.302, allocations: 7.438 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/1.302, allocations: 4 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.004027/1.306, allocations: 0.7422 MB / 1.285 GB, free: 8.508 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.122713612392545]