Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 109.4 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 188.5 kB / 16.91 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 68.58 kB / 0.8694 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3904, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003046/0.3935, allocations: 1.278 MB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002761/0.3939, allocations: 51.83 kB / 1.019 GB, free: 9.684 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.3939, allocations: 0 / 1.019 GB, free: 9.684 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/0.394, allocations: 0 / 1.019 GB, free: 9.684 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.3942, allocations: 11.92 kB / 1.019 GB, free: 9.672 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.3944, allocations: 15.98 kB / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.3945, allocations: 15.94 kB / 1.019 GB, free: 9.641 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.3945, allocations: 3.984 kB / 1.019 GB, free: 9.637 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.3946, allocations: 7.984 kB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.3947, allocations: 17.44 kB / 1.019 GB, free: 9.609 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3947, allocations: 0 / 1.019 GB, free: 9.609 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.3948, allocations: 11.98 kB / 1.019 GB, free: 9.598 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.3949, allocations: 48.39 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.395, allocations: 35.69 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.3951, allocations: 60.11 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3951, allocations: 0 / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3951, allocations: 0 / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3951, allocations: 0 / 1.019 GB, free: 9.457 MB / 0.795 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.000546/0.3957, allocations: 426.7 kB / 1.019 GB, free: 8.992 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.3957, allocations: 8.625 kB / 1.019 GB, free: 8.984 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.872e-05/0.3958, allocations: 84.12 kB / 1.019 GB, free: 8.902 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3961, allocations: 270.7 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.3961, allocations: 162.6 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.3962, allocations: 154.5 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.3963, allocations: 105 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.3963, allocations: 75.28 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.3964, allocations: 150.6 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-05/0.3965, allocations: 154.6 kB / 1.02 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.3965, allocations: 154.6 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.3969, allocations: 0.4899 MB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.397, allocations: 169.1 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.397, allocations: 88.14 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.3971, allocations: 75.28 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.3971, allocations: 113.8 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3971, allocations: 0 / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001015/0.3972, allocations: 45.44 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.3973, allocations: 126.7 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.3976, allocations: 231 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3976, allocations: 29.7 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.3977, allocations: 105.7 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.3977, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.3978, allocations: 37.7 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3979, allocations: 334.7 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.398, allocations: 55.95 kB / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.3981, allocations: 51.97 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.3983, allocations: 138.6 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3983, allocations: 4.031 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003501/0.3986, allocations: 179.9 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3987, allocations: 4 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3987, allocations: 4 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3987, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.3987, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3987, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.3988, allocations: 23.67 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3988, allocations: 11.88 kB / 1.023 GB, free: 5.238 MB / 0.795 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.0001312/0.3989, allocations: 201.1 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.399, allocations: 120.8 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.3991, allocations: 113.5 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.689e-05/0.3991, allocations: 176.3 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.09e-05/0.3992, allocations: 192.2 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/0.3993, allocations: 176.3 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.3995, allocations: 441.1 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.876e-05/0.3996, allocations: 108.9 kB / 1.024 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.3996, allocations: 105 kB / 1.024 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.3997, allocations: 184.2 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.3997, allocations: 176.3 kB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-05/0.3998, allocations: 184.3 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.198e-05/0.3999, allocations: 180.4 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.4, allocations: 323.6 kB / 1.025 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.4001, allocations: 189.9 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.4002, allocations: 176.3 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.4003, allocations: 116.9 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.4004, allocations: 176.3 kB / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.4005, allocations: 108.9 kB / 1.026 GB, free: 1.637 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001294/0.4006, allocations: 156.6 kB / 1.026 GB, free: 1.484 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4006, allocations: 0 / 1.026 GB, free: 1.484 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002512/0.4009, allocations: 20 kB / 1.026 GB, free: 1.465 MB / 0.795 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.0001912/0.4011, allocations: 192.7 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.4012, allocations: 79.95 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4012, allocations: 0 / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.4012, allocations: 0 / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.4016, allocations: 455.7 kB / 1.027 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.4021, allocations: 352 kB / 1.027 GB, free: 376 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.4024, allocations: 0.708 MB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.4025, allocations: 11.44 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of SimCode: time 4.5e-07/0.4025, allocations: 0 / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.003494/0.406, allocations: 1.12 MB / 1.029 GB, free: 14.5 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches