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.001439/0.001439, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001346/0.001346, allocations: 188.4 kB / 16.91 MB, free: 6.188 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.577/2.577, allocations: 437.1 MB / 0.7107 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 61.06 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4106, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003267/0.4139, allocations: 1.274 MB / 1.019 GB, free: 9.73 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.4143, allocations: 51.77 kB / 1.019 GB, free: 9.68 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.4144, allocations: 4 kB / 1.019 GB, free: 9.676 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.457e-05/0.4144, allocations: 7.984 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.4146, allocations: 7.984 kB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.4148, allocations: 4 kB / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.4149, allocations: 23.92 kB / 1.019 GB, free: 9.633 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.789e-05/0.415, allocations: 3.984 kB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.415, allocations: 4 kB / 1.019 GB, free: 9.625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.4151, allocations: 21.42 kB / 1.019 GB, free: 9.602 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.4152, allocations: 0 / 1.019 GB, free: 9.602 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.4153, allocations: 4 kB / 1.019 GB, free: 9.598 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.4154, allocations: 52.44 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.4154, allocations: 43.67 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.4156, allocations: 44.12 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4156, allocations: 0 / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.579e-06/0.4156, allocations: 4 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.4156, allocations: 3.938 kB / 1.019 GB, free: 9.453 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.0005818/0.4162, allocations: 429 kB / 1.019 GB, free: 8.988 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4162, allocations: 8.922 kB / 1.019 GB, free: 8.98 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.4163, allocations: 88.12 kB / 1.019 GB, free: 8.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.4166, allocations: 270.7 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-05/0.4167, allocations: 162.5 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-05/0.4168, allocations: 154.6 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.731e-05/0.4169, allocations: 101 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.4169, allocations: 75.28 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/0.417, allocations: 154.6 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.4171, allocations: 154.6 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.4172, allocations: 154.5 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.4176, allocations: 0.4938 MB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.4177, allocations: 169.1 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.4178, allocations: 84.08 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.4178, allocations: 75.28 kB / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.4179, allocations: 113.8 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4179, allocations: 0 / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.634e-05/0.418, allocations: 37.52 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.4181, allocations: 130.7 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.4183, allocations: 231 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.4184, allocations: 25.7 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.4185, allocations: 105.7 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.4185, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.4186, allocations: 45.62 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4187, allocations: 330.8 kB / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.4188, allocations: 51.97 kB / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/0.4189, allocations: 61.27 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.4191, allocations: 142.2 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4191, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003426/0.4195, allocations: 180 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4195, allocations: 4 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4195, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4195, allocations: 4 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.4195, allocations: 0 / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4195, allocations: 0 / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.4196, allocations: 19.69 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.4196, allocations: 12 kB / 1.023 GB, free: 5.234 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.000156/0.4198, allocations: 205.1 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/0.4199, allocations: 116.7 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.817e-05/0.4199, allocations: 117.5 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.167e-05/0.42, allocations: 176.3 kB / 1.023 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.838e-05/0.4201, allocations: 184.2 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.248e-05/0.4202, allocations: 180.3 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.4205, allocations: 441.1 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.778e-05/0.4206, allocations: 105 kB / 1.024 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.4206, allocations: 105 kB / 1.024 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.641e-05/0.4207, allocations: 188.2 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.4208, allocations: 180.3 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.167e-05/0.4209, allocations: 188.2 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.267e-05/0.421, allocations: 176.5 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.4212, allocations: 315.6 kB / 1.025 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.4213, allocations: 197.9 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/0.4214, allocations: 184.2 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.4215, allocations: 101 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.4216, allocations: 180.2 kB / 1.026 GB, free: 1.746 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.4216, allocations: 104.9 kB / 1.026 GB, free: 1.637 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001534/0.4218, allocations: 168.6 kB / 1.026 GB, free: 1.473 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4218, allocations: 0 / 1.026 GB, free: 1.473 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002527/0.422, allocations: 24 kB / 1.026 GB, free: 1.449 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.0001885/0.4222, allocations: 179 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4224, allocations: 75.95 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4225, allocations: 0 / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.4225, allocations: 3.938 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.4229, allocations: 459.8 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.4234, allocations: 346.4 kB / 1.027 GB, free: 376 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.4238, allocations: 0.7119 MB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.4238, allocations: 15.44 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.4238, allocations: 0 / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of Templates: time 0.003099/0.4269, allocations: 1.126 MB / 1.029 GB, free: 14.49 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