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.001227/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001495/0.001495, allocations: 201.3 kB / 16.14 MB, free: 6.793 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.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.885/2.885, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9367/0.938, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002856/0.9409, allocations: 1.264 MB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.9412, allocations: 67.7 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.9413, allocations: 0 / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.9413, allocations: 0 / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.9415, allocations: 7.969 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.9417, allocations: 12 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.9418, allocations: 39.89 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.9418, allocations: 0 / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.9419, allocations: 4 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.942, allocations: 13.48 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.942, allocations: 0 / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.9421, allocations: 15.94 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.9422, allocations: 44.44 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.9423, allocations: 43.69 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.9424, allocations: 65.67 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9424, allocations: 4 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.787e-06/0.9424, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.85e-06/0.9424, allocations: 3.938 kB / 1.018 GB, free: 1.199 MB / 0.7637 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.00053/0.943, allocations: 434.7 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.943, allocations: 8.031 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.9431, allocations: 84.12 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.9434, allocations: 274.7 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/0.9434, allocations: 154.5 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.9435, allocations: 154.6 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.9437, allocations: 101 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.9437, allocations: 87.2 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.9438, allocations: 150.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.9439, allocations: 154.6 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.9439, allocations: 154.5 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.9443, allocations: 0.4899 MB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.042e-05/0.9444, allocations: 173.1 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.9445, allocations: 80.14 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.9445, allocations: 75.28 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.9446, allocations: 117.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.9446, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.9447, allocations: 41.52 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.9448, allocations: 126.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.9451, allocations: 234.9 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.9451, allocations: 25.7 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.9452, allocations: 104.1 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.9452, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.9452, allocations: 41.69 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9454, allocations: 334.8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.9455, allocations: 55.95 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.9456, allocations: 56.02 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.9458, allocations: 136.7 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9458, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003577/0.9462, allocations: 175.8 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9462, allocations: 8 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.9462, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9462, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.9462, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9462, allocations: 4.062 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.9463, allocations: 19.73 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.9463, allocations: 7.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 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.0001482/0.9465, allocations: 205.6 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.9465, allocations: 112.8 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.9466, allocations: 117.5 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.562e-05/0.9467, allocations: 184.3 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-05/0.9468, allocations: 180.2 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-05/0.9469, allocations: 176.3 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.9472, allocations: 449 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-05/0.9472, allocations: 105 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.9473, allocations: 101 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.483e-05/0.9474, allocations: 188.1 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.55e-05/0.9475, allocations: 184.2 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-05/0.9475, allocations: 180.2 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.734e-05/0.9476, allocations: 176.3 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.9478, allocations: 323.5 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.9479, allocations: 193.9 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.948, allocations: 184.2 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.9481, allocations: 101.3 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.9482, allocations: 188.2 kB / 1.025 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.9483, allocations: 101 kB / 1.025 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001342/0.9484, allocations: 164.6 kB / 1.025 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9484, allocations: 0 / 1.025 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002825/0.9487, allocations: 19.94 kB / 1.026 GB, free: 9.195 MB / 0.7794 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.000233/0.9489, allocations: 178.5 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.9491, allocations: 80.02 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9491, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.9491, allocations: 3.938 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.9496, allocations: 0.5282 MB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.9502, allocations: 319.9 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.9505, allocations: 0.7082 MB / 1.027 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.9506, allocations: 11.98 kB / 1.027 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.9506, allocations: 7.438 kB / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.9506, allocations: 0 / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of Templates: time 0.003231/0.9538, allocations: 0.7188 MB / 1.028 GB, free: 6.586 MB / 0.7794 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/jenkins/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