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.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.001495/0.001495, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001584/0.001584, allocations: 160 kB / 22.45 MB, free: 5.375 MB / 14.72 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.51/1.51, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.806/2.806, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 2.094e-06/2.094e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.798e-05/4.008e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003028/0.003068, allocations: 1.236 MB / 0.9522 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.003401, allocations: 43.84 kB / 0.9522 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.003446, allocations: 4 kB / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.283e-05/0.003509, allocations: 0 / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.003693, allocations: 15.86 kB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.003908, allocations: 15.92 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.004009, allocations: 11.94 kB / 0.9522 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.004073, allocations: 3.984 kB / 0.9522 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.004154, allocations: 7.984 kB / 0.9523 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.004244, allocations: 16.73 kB / 0.9523 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.004266, allocations: 0 / 0.9523 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.004368, allocations: 4 kB / 0.9523 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.004494, allocations: 60.34 kB / 0.9523 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.004542, allocations: 19.94 kB / 0.9523 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.004725, allocations: 67.69 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004727, allocations: 0 / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.004729, allocations: 0 / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.004735, allocations: 4 kB / 0.9524 GB, free: 10.08 MB / 0.8575 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.0005979/0.005333, allocations: 353.5 kB / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.005395, allocations: 12.03 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.005511, allocations: 88.12 kB / 0.9528 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.005752, allocations: 208.8 kB / 0.953 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/0.005841, allocations: 154.9 kB / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/0.005929, allocations: 154.9 kB / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.006037, allocations: 105.1 kB / 0.9534 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.006086, allocations: 79.22 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.006201, allocations: 158.5 kB / 0.9537 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.618e-05/0.006287, allocations: 150.6 kB / 0.9538 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.628e-05/0.006363, allocations: 154.5 kB / 0.954 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.006809, allocations: 441.5 kB / 0.9544 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.006943, allocations: 173.1 kB / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.006996, allocations: 84.08 kB / 0.9546 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.444e-05/0.00705, allocations: 79.28 kB / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.508e-05/0.007136, allocations: 105.8 kB / 0.9548 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.007137, allocations: 0 / 0.9548 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001183/0.007255, allocations: 37.59 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.007371, allocations: 134.7 kB / 0.955 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.007703, allocations: 231 kB / 0.9552 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.007726, allocations: 25.7 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.007832, allocations: 112.1 kB / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.007836, allocations: 0 / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.007896, allocations: 37.69 kB / 0.9554 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.008051, allocations: 330.8 kB / 0.9557 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/0.008151, allocations: 63.89 kB / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.008232, allocations: 51.97 kB / 0.9558 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.008424, allocations: 142.6 kB / 0.9559 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008426, allocations: 0 / 0.9559 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003779/0.008804, allocations: 175 kB / 0.9561 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.008822, allocations: 4 kB / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.008829, allocations: 0 / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.008848, allocations: 0 / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.008849, allocations: 0 / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.008856, allocations: 4 kB / 0.9561 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.008905, allocations: 19.84 kB / 0.9561 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.008936, allocations: 19.91 kB / 0.9561 GB, free: 6.09 MB / 0.8575 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.0001699/0.009106, allocations: 205.1 kB / 0.9563 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.009185, allocations: 116.8 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.00926, allocations: 117.5 kB / 0.9565 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/0.009368, allocations: 180.8 kB / 0.9567 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001159/0.009484, allocations: 180.3 kB / 0.9569 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/0.009588, allocations: 180.2 kB / 0.9571 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.009887, allocations: 388.8 kB / 0.9574 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.425e-05/0.009961, allocations: 101 kB / 0.9575 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.01003, allocations: 117.1 kB / 0.9576 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.01015, allocations: 180.3 kB / 0.9578 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.01027, allocations: 192.2 kB / 0.958 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001122/0.01039, allocations: 184.2 kB / 0.9582 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001163/0.0105, allocations: 176.3 kB / 0.9583 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.01078, allocations: 315.7 kB / 0.9586 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.0109, allocations: 120.8 kB / 0.9588 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.01105, allocations: 184.2 kB / 0.9589 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01117, allocations: 105 kB / 0.959 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.01128, allocations: 180.2 kB / 0.9592 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.01135, allocations: 101 kB / 0.9593 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001593/0.0115, allocations: 160.6 kB / 0.9595 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.0115, allocations: 4 kB / 0.9595 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003111/0.01182, allocations: 16 kB / 0.9595 GB, free: 2.48 MB / 0.8575 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.0002618/0.01208, allocations: 178.5 kB / 0.9596 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.01226, allocations: 63.91 kB / 0.9597 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01226, allocations: 0 / 0.9597 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.01226, allocations: 0 / 0.9597 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.01278, allocations: 465.9 kB / 0.9602 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.01339, allocations: 305.5 kB / 0.9604 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.01352, allocations: 96.66 kB / 0.9605 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.882e-05/0.01355, allocations: 11.98 kB / 0.9605 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.01358, allocations: 8.5 kB / 0.9606 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.01358, allocations: 0 / 0.9606 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of Templates: time 0.004125/0.01771, allocations: 0.7096 MB / 0.9612 GB, free: 0.5977 MB / 0.8575 GB " [Timeout remaining time 300] 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: 8.313471458852291]