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.001351/0.001351, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00138/0.00138, allocations: 186 kB / 20.78 MB, free: 1.547 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.527/1.527, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.889/2.889, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002071/0.002071, allocations: 67.89 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404/1.406, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003056/1.409, allocations: 1.223 MB / 1.273 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003102/1.409, allocations: 57.19 kB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/1.41, allocations: 0.8125 kB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.958e-05/1.41, allocations: 0.5625 kB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/1.41, allocations: 8 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/1.41, allocations: 10.61 kB / 1.273 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.41, allocations: 18 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/1.41, allocations: 2.391 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/1.41, allocations: 5.297 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/1.41, allocations: 11.97 kB / 1.273 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/1.41, allocations: 4.812 kB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/1.41, allocations: 9.062 kB / 1.273 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/1.41, allocations: 50.8 kB / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/1.41, allocations: 36.94 kB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/1.411, allocations: 75.48 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.411, allocations: 0.8438 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.411, allocations: 0 / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.411, allocations: 0.9375 kB / 1.273 GB, free: 6.938 MB / 0.9981 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.0005038/1.411, allocations: 425.5 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.411, allocations: 8.906 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/1.411, allocations: 89.12 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.411, allocations: 283.2 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/1.411, allocations: 155.5 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/1.412, allocations: 151.6 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.819e-05/1.412, allocations: 111.1 kB / 1.275 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.412, allocations: 75.28 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/1.412, allocations: 150.6 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/1.412, allocations: 155.6 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/1.412, allocations: 150.6 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/1.412, allocations: 0.5001 MB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/1.412, allocations: 171 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/1.412, allocations: 84.14 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/1.412, allocations: 75.28 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.412, allocations: 106.9 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.412, allocations: 4 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.713e-05/1.412, allocations: 42.14 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/1.412, allocations: 127.4 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/1.413, allocations: 232.1 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/1.413, allocations: 26.48 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/1.413, allocations: 114.2 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.413, allocations: 0 / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/1.413, allocations: 38.08 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/1.413, allocations: 332.7 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/1.413, allocations: 59.98 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/1.413, allocations: 54.08 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/1.413, allocations: 136 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.413, allocations: 1 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004042/1.414, allocations: 177 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.414, allocations: 7.312 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.414, allocations: 0 / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.414, allocations: 1.125 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/1.414, allocations: 4.062 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.414, allocations: 0 / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/1.414, allocations: 15.28 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/1.414, allocations: 5.219 kB / 1.277 GB, free: 3.32 MB / 0.9981 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.0001074/1.414, allocations: 207.8 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/1.414, allocations: 115.4 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/1.414, allocations: 120.9 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.414, allocations: 181.1 kB / 1.278 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.701e-05/1.414, allocations: 186 kB / 1.278 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/1.414, allocations: 181.3 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/1.414, allocations: 436.7 kB / 1.279 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.023e-05/1.414, allocations: 108.2 kB / 1.279 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/1.414, allocations: 109.7 kB / 1.279 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/1.415, allocations: 182 kB / 1.279 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.381e-05/1.415, allocations: 177 kB / 1.279 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.401e-05/1.415, allocations: 183.6 kB / 1.279 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.16e-05/1.415, allocations: 185.1 kB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/1.415, allocations: 320.6 kB / 1.28 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/1.415, allocations: 189.8 kB / 1.28 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.415, allocations: 187.1 kB / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/1.415, allocations: 105.4 kB / 1.28 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/1.415, allocations: 181.1 kB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/1.415, allocations: 109.7 kB / 1.281 GB, free: 15.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001768/1.416, allocations: 153.1 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/1.416, allocations: 0 / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003033/1.416, allocations: 17.34 kB / 1.281 GB, free: 15.71 MB / 1.014 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.0002312/1.416, allocations: 180.9 kB / 1.281 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001974/1.416, allocations: 67.25 kB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.416, allocations: 0 / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/1.416, allocations: 4.969 kB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/1.417, allocations: 460.8 kB / 1.281 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/1.417, allocations: 310.6 kB / 1.282 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/1.418, allocations: 0.7137 MB / 1.282 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.399e-05/1.418, allocations: 9.422 kB / 1.282 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/1.418, allocations: 9.531 kB / 1.282 GB, free: 14.12 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/1.418, allocations: 1.344 kB / 1.282 GB, free: 14.12 MB / 1.014 GB Notification: Performance of Templates: time 0.004021/1.422, allocations: 0.7435 MB / 1.283 GB, free: 13.99 MB / 1.014 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.192260148003697]