Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.006649/0.006649, allocations: 100.4 kB / 15.87 MB, free: 6.305 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.001557/0.001557, allocations: 199 kB / 16.79 MB, free: 6.238 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.884/2.884, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 65.86 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4271, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.004/0.4312, allocations: 1.274 MB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004017/0.4316, allocations: 55.83 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.4317, allocations: 0 / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.268e-05/0.4317, allocations: 0 / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.432, allocations: 7.984 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.4323, allocations: 15.92 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.4324, allocations: 27.97 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.431e-05/0.4325, allocations: 7.922 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.4325, allocations: 11.88 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.4327, allocations: 21.48 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.4327, allocations: 0 / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.4329, allocations: 7.984 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.433, allocations: 48.45 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.4331, allocations: 39.69 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.4332, allocations: 48.11 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4333, allocations: 0 / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4333, allocations: 0 / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4333, allocations: 0 / 1.054 GB, free: 6.773 MB / 0.8106 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.0007905/0.4341, allocations: 428.8 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.426e-05/0.4342, allocations: 15.97 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.4343, allocations: 92.12 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.4346, allocations: 270.7 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.4347, allocations: 150.6 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.4348, allocations: 150.6 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.4349, allocations: 108.9 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.435, allocations: 75.28 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.4351, allocations: 158.5 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/0.4351, allocations: 150.6 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.4352, allocations: 150.6 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.4357, allocations: 0.4938 MB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.4358, allocations: 173.1 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.4359, allocations: 84.14 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/0.4359, allocations: 75.28 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/0.436, allocations: 105.8 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.436, allocations: 3.938 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001454/0.4362, allocations: 45.5 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/0.4363, allocations: 130.7 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.4366, allocations: 219.1 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.4367, allocations: 33.69 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4368, allocations: 108.1 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-06/0.4368, allocations: 3.938 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.4369, allocations: 33.7 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.437, allocations: 330.8 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4372, allocations: 63.95 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.4373, allocations: 51.97 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4375, allocations: 138.8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4375, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000482/0.438, allocations: 175.2 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.4381, allocations: 4 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4381, allocations: 3.938 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.4381, allocations: 0 / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.4381, allocations: 0 / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4381, allocations: 3.938 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.4382, allocations: 23.75 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.4382, allocations: 11.92 kB / 1.058 GB, free: 2.551 MB / 0.8106 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.0001613/0.4384, allocations: 201.1 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4385, allocations: 120.8 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/0.4386, allocations: 109.5 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.44e-05/0.4387, allocations: 180.2 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001083/0.4388, allocations: 184.3 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.713e-05/0.4389, allocations: 184.2 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.4393, allocations: 437.1 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.674e-05/0.4393, allocations: 101 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.4394, allocations: 108.9 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.4395, allocations: 184.3 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-05/0.4396, allocations: 184.2 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001111/0.4398, allocations: 176.3 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001028/0.4399, allocations: 184.2 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.4401, allocations: 315.9 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.4403, allocations: 201.8 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4404, allocations: 180.2 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.4406, allocations: 105 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4407, allocations: 184.2 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.4408, allocations: 105 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001616/0.4409, allocations: 164.5 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.441, allocations: 4 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003352/0.4413, allocations: 20 kB / 1.062 GB, free: 14.77 MB / 0.8262 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.000264/0.4416, allocations: 174.5 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4418, allocations: 83.89 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4418, allocations: 0 / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-06/0.4418, allocations: 0 / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.4424, allocations: 0.5264 MB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.443, allocations: 345.7 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.4434, allocations: 0.7082 MB / 1.063 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.4435, allocations: 7.438 kB / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of SimCode: time 8.52e-07/0.4435, allocations: 0 / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.004159/0.4476, allocations: 1.122 MB / 1.065 GB, free: 11.74 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches