Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01227/0.01227, allocations: 98.94 kB / 15.73 MB, free: 6.047 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.002156/0.002156, allocations: 194.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.345/2.345, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.078/4.078, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 65.89 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5496, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003803/0.5535, allocations: 1.211 MB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.5539, allocations: 55.83 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.554, allocations: 0 / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.554, allocations: 11.92 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.5542, allocations: 0 / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.5545, allocations: 15.91 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.5546, allocations: 12 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.5547, allocations: 4 kB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.5547, allocations: 11.97 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.5548, allocations: 8.688 kB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.5549, allocations: 3.938 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.555, allocations: 8 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.5552, allocations: 48.44 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.5552, allocations: 39.69 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.5555, allocations: 83.3 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5555, allocations: 0 / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5555, allocations: 0 / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5555, allocations: 0 / 1.089 GB, free: 0.5117 MB / 0.8419 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.0007041/0.5562, allocations: 422.8 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.5563, allocations: 16.02 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.5564, allocations: 106 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.5566, allocations: 95.97 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.5568, allocations: 251.5 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.71e-05/0.5569, allocations: 158.5 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.557, allocations: 154.9 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.5572, allocations: 101 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.5572, allocations: 83.22 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/0.5573, allocations: 150.6 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.168e-05/0.5574, allocations: 158.5 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.5575, allocations: 150.6 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.5581, allocations: 0.4938 MB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.5582, allocations: 169.1 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.5583, allocations: 84.08 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.5584, allocations: 75.28 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.575e-05/0.5585, allocations: 113.8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.5585, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001488/0.5587, allocations: 37.52 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.5588, allocations: 134.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.5593, allocations: 227 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.5593, allocations: 25.7 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.5595, allocations: 112 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.5595, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.5596, allocations: 37.69 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.5599, allocations: 334.8 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.56, allocations: 63.89 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.5602, allocations: 51.97 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.5605, allocations: 140.7 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5605, allocations: 0 / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000521/0.5611, allocations: 169.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.5611, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5611, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5612, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-06/0.5612, allocations: 4 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5612, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.5613, allocations: 15.81 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.5614, allocations: 11.98 kB / 1.093 GB, free: 12.2 MB / 0.8575 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.0002036/0.5616, allocations: 208.9 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5617, allocations: 128.7 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.576e-05/0.5618, allocations: 109.5 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/0.5619, allocations: 181.6 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-05/0.5621, allocations: 180.3 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001132/0.5622, allocations: 192.2 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.5626, allocations: 433.1 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.636e-05/0.5627, allocations: 105 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.5628, allocations: 108.9 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.5629, allocations: 180.2 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-05/0.563, allocations: 184.2 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.639e-05/0.5631, allocations: 180.3 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.997e-05/0.5632, allocations: 184.2 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.5635, allocations: 315.8 kB / 1.095 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.5637, allocations: 197.8 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.5638, allocations: 184.3 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.564, allocations: 105 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.5642, allocations: 184.2 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.5642, allocations: 101 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002378/0.5645, allocations: 156.6 kB / 1.096 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.81e-07/0.5645, allocations: 4 kB / 1.096 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000497/0.565, allocations: 20 kB / 1.096 GB, free: 8.406 MB / 0.8575 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.0006486/0.5657, allocations: 0.828 MB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.5659, allocations: 75.95 kB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.566, allocations: 4.062 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.566, allocations: 4 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.5666, allocations: 459.6 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.5706, allocations: 2.128 MB / 1.1 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.5711, allocations: 0.708 MB / 1.1 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.5711, allocations: 4 kB / 1.1 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.5712, allocations: 35.42 kB / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of SimCode: time 1.052e-06/0.5713, allocations: 0 / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.6041, allocations: 2.766 MB / 1.103 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.77, allocations: 11.56 kB / 1.103 GB, free: 1.375 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches