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.00133/0.00133, allocations: 102.2 kB / 16.27 MB, free: 6 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.001347/0.001347, allocations: 191 kB / 17.2 MB, free: 5.609 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.574/1.574, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.76/2.76, allocations: 437.1 MB / 0.711 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 75.45 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4086, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003835/0.4125, allocations: 1.213 MB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003511/0.4129, allocations: 59.75 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.4129, allocations: 0 / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/0.413, allocations: 7.984 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.4132, allocations: 0 / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.4134, allocations: 23.92 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.177e-05/0.4135, allocations: 15.98 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.696e-05/0.4136, allocations: 0 / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.4136, allocations: 7.984 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.4137, allocations: 16.61 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.4138, allocations: 0 / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.4139, allocations: 8 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.414, allocations: 52.44 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.4141, allocations: 39.69 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.4143, allocations: 71.92 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4143, allocations: 0 / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4143, allocations: 0 / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4143, allocations: 0 / 1.019 GB, free: 9.086 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.0007133/0.415, allocations: 422.7 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 7.401e-05/0.4151, allocations: 12.92 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.4152, allocations: 92.11 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.4156, allocations: 271.3 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.4158, allocations: 158.6 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.4159, allocations: 150.6 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4161, allocations: 108.9 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.4161, allocations: 75.28 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.4162, allocations: 154.5 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.461e-05/0.4163, allocations: 154.6 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.4164, allocations: 150.6 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.417, allocations: 0.49 MB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.4172, allocations: 173 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.4173, allocations: 88.14 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.4173, allocations: 75.28 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.4174, allocations: 105.8 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4174, allocations: 0 / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001266/0.4175, allocations: 41.52 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.4176, allocations: 126.7 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.4179, allocations: 231 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.418, allocations: 25.7 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4181, allocations: 112.1 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.4181, allocations: 0 / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.4182, allocations: 37.69 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4184, allocations: 330.8 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4185, allocations: 63.89 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.4186, allocations: 51.97 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.4188, allocations: 142.5 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4188, allocations: 0 / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004751/0.4193, allocations: 176 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4193, allocations: 4 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4193, allocations: 0 / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.4194, allocations: 0 / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-06/0.4194, allocations: 4 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4194, allocations: 0 / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.4195, allocations: 19.69 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.4195, allocations: 11.92 kB / 1.023 GB, free: 4.871 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.0001896/0.4197, allocations: 209.1 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4198, allocations: 116.8 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.53e-05/0.4199, allocations: 115.1 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/0.42, allocations: 184.1 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001121/0.4201, allocations: 180.3 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/0.4203, allocations: 184.2 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.4206, allocations: 441.1 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.951e-05/0.4206, allocations: 101 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.4207, allocations: 108.9 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.714e-05/0.4208, allocations: 188.2 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.4209, allocations: 180.2 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.953e-05/0.421, allocations: 180.3 kB / 1.025 GB, free: 2.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.449e-05/0.4211, allocations: 180.3 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.4213, allocations: 319.8 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.4215, allocations: 193.8 kB / 1.026 GB, free: 1.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.4216, allocations: 188.3 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4217, allocations: 105 kB / 1.026 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4218, allocations: 180.2 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.4219, allocations: 105 kB / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001579/0.422, allocations: 152.7 kB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4221, allocations: 0 / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002923/0.4223, allocations: 20 kB / 1.027 GB, free: 1.094 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.0002394/0.4226, allocations: 178.5 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.4228, allocations: 83.84 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4228, allocations: 0 / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.4228, allocations: 0 / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.4233, allocations: 463.7 kB / 1.027 GB, free: 380 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.4239, allocations: 328 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.4244, allocations: 0.7119 MB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.4244, allocations: 11.44 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.4244, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.00395/0.4284, allocations: 1.126 MB / 1.03 GB, free: 14.14 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=400 -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