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.008731/0.008731, allocations: 100.5 kB / 15.73 MB, free: 6.48 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.001561/0.001561, allocations: 194.6 kB / 16.67 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.555/2.555, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61.12 kB / 0.9504 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 140.4 MB / 1.087 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003076/0.3736, allocations: 1.21 MB / 1.089 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003232/0.374, allocations: 59.8 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.3741, allocations: 3.938 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/0.3742, allocations: 4 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.3743, allocations: 8 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3745, allocations: 15.86 kB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3746, allocations: 11.98 kB / 1.089 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.3747, allocations: 7.984 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.3747, allocations: 4 kB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.3748, allocations: 12.62 kB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3748, allocations: 0 / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.3749, allocations: 7.984 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3751, allocations: 52.44 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.3751, allocations: 43.69 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3753, allocations: 71.36 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.3753, allocations: 4 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3753, allocations: 0 / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3753, allocations: 0 / 1.089 GB, free: 0.6523 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.0005448/0.3759, allocations: 426.8 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.3759, allocations: 8.031 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.651e-05/0.376, allocations: 110 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.3761, allocations: 95.97 kB / 1.09 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.3764, allocations: 259.5 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.3764, allocations: 158.5 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.3765, allocations: 150.9 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.3766, allocations: 108.9 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.3767, allocations: 83.27 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.3767, allocations: 150.6 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.348e-05/0.3768, allocations: 154.6 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.3769, allocations: 154.6 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3773, allocations: 497.7 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3774, allocations: 173.1 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.3775, allocations: 84.14 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.3775, allocations: 75.28 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/0.3776, allocations: 109.8 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3776, allocations: 0 / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001051/0.3777, allocations: 41.52 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.3778, allocations: 130.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.378, allocations: 234.9 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.3781, allocations: 25.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.3782, allocations: 112 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-06/0.3782, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.64e-05/0.3783, allocations: 41.69 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3785, allocations: 330.8 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3786, allocations: 59.95 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.3787, allocations: 55.95 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3789, allocations: 136.7 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3789, allocations: 3.938 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003883/0.3793, allocations: 169.5 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3793, allocations: 8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3793, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3793, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-06/0.3793, allocations: 3.984 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3793, allocations: 3.938 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.3794, allocations: 19.81 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.3794, allocations: 4 kB / 1.093 GB, free: 12.32 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.0001472/0.3796, allocations: 205 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.3797, allocations: 116.7 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.3797, allocations: 113.5 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/0.3798, allocations: 181.6 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.899e-05/0.3799, allocations: 188.2 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.849e-05/0.38, allocations: 180.2 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.3803, allocations: 437.1 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-05/0.3804, allocations: 109 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.3804, allocations: 104.9 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-05/0.3805, allocations: 180.3 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.3806, allocations: 184.2 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.053e-05/0.3807, allocations: 184.3 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-05/0.3808, allocations: 180.2 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.3809, allocations: 315.9 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.381, allocations: 197.8 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.3811, allocations: 180.3 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.3812, allocations: 108.9 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.3813, allocations: 180.3 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.3814, allocations: 105 kB / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001376/0.3815, allocations: 160.6 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3815, allocations: 4 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002766/0.3818, allocations: 16 kB / 1.096 GB, free: 8.543 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.0005985/0.3824, allocations: 0.8241 MB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.3826, allocations: 75.97 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3826, allocations: 0 / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.3826, allocations: 0 / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3831, allocations: 461.2 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.3855, allocations: 2.132 MB / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3859, allocations: 0.7118 MB / 1.1 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.3859, allocations: 7.984 kB / 1.1 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.386, allocations: 35.42 kB / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of SimCode: time 4e-07/0.386, allocations: 0 / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.4126, allocations: 2.768 MB / 1.103 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.58, allocations: 13.88 kB / 1.103 GB, free: 1.504 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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