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.009557/0.009557, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.002209/0.002209, allocations: 187 kB / 16.67 MB, free: 5.949 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 2.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 70.86 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3429, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002453/0.3454, allocations: 1.208 MB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002569/0.3456, allocations: 55.81 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.3457, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.3457, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.3459, allocations: 7.938 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.3461, allocations: 11.97 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.3462, allocations: 15.94 kB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.3463, allocations: 7.984 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.3463, allocations: 11.94 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.3464, allocations: 8.734 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3464, allocations: 0 / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.3465, allocations: 7.984 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.3466, allocations: 44.45 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.3466, allocations: 39.69 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3468, allocations: 79.3 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3468, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3468, allocations: 4 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3468, 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.0004841/0.3473, allocations: 428.6 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.3474, allocations: 12.03 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.3474, allocations: 110 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.3475, allocations: 88.03 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3477, allocations: 267.4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/0.3478, allocations: 162.5 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.3479, allocations: 150.9 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.573e-05/0.348, allocations: 101 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.348, allocations: 79.28 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.3481, allocations: 150.6 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/0.3481, allocations: 154.6 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.82e-05/0.3482, allocations: 158.5 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.3485, allocations: 0.4899 MB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.696e-05/0.3486, allocations: 165.1 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.3487, allocations: 80.14 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.3487, allocations: 79.28 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.3488, allocations: 117.8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3488, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.93e-05/0.3489, allocations: 37.52 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.3489, allocations: 130.7 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.3492, allocations: 230.9 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3492, allocations: 33.69 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.3493, allocations: 112 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.3493, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.3494, allocations: 37.7 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3495, allocations: 330.8 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.3496, allocations: 55.97 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.3497, allocations: 55.95 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3499, allocations: 145 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3499, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000309/0.3502, allocations: 173.5 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3503, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3503, allocations: 3.984 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3503, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3503, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3503, allocations: 3.984 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.3504, allocations: 15.75 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3504, allocations: 4 kB / 1.093 GB, free: 12.18 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.0001412/0.3505, allocations: 211 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.3506, allocations: 116.7 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.3507, allocations: 113.5 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-05/0.3508, allocations: 181.7 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.166e-05/0.3508, allocations: 180.2 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.318e-05/0.3509, allocations: 180.3 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.3512, allocations: 441.1 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/0.3512, allocations: 113 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.3513, allocations: 112.9 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.363e-05/0.3513, allocations: 176.3 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.3514, allocations: 176.3 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.717e-05/0.3515, allocations: 188.2 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.08e-05/0.3515, allocations: 180.3 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3517, allocations: 319.8 kB / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.3518, allocations: 185.9 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.3519, allocations: 192.2 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.352, allocations: 105 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.3521, allocations: 180.2 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.3521, allocations: 109 kB / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001379/0.3523, allocations: 160.6 kB / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3523, allocations: 0 / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002507/0.3525, allocations: 16 kB / 1.096 GB, free: 8.398 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.0005254/0.3531, allocations: 0.828 MB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.3532, allocations: 75.95 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3533, allocations: 0 / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.3533, allocations: 3.938 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3537, allocations: 459.8 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.356, allocations: 2.136 MB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3564, allocations: 0.708 MB / 1.1 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.3564, allocations: 4 kB / 1.1 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.3565, allocations: 35.41 kB / 1.101 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.3565, allocations: 4.031 kB / 1.101 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.3793, allocations: 2.799 MB / 1.103 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.56/8.939, allocations: 5.969 kB / 1.103 GB, free: 1.332 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