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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_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.005327/0.005327, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001355/0.001355, allocations: 197.3 kB / 16.68 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 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.858/2.858, allocations: 469.4 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 59.91 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4392, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002987/0.4423, allocations: 1.211 MB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003484/0.4427, allocations: 63.81 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.4428, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.4428, allocations: 3.938 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.443, allocations: 9.828 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.4432, allocations: 15.92 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.4433, allocations: 8 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.4434, allocations: 3.984 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.4434, allocations: 7.984 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.4435, allocations: 20.62 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.4435, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.4437, allocations: 8 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.4438, allocations: 48.44 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.4438, allocations: 39.69 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.444, allocations: 79.56 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.444, allocations: 0 / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.444, allocations: 0 / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.444, allocations: 0 / 1.221 GB, free: 13.15 MB / 0.9825 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.0005392/0.4446, allocations: 434.6 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4447, allocations: 12.03 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.4447, allocations: 110 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.4448, allocations: 88.12 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.4451, allocations: 267.5 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.4452, allocations: 154.5 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.4452, allocations: 150.6 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.4453, allocations: 112.9 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.4454, allocations: 75.28 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.4455, allocations: 154.6 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.4455, allocations: 150.6 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.4456, allocations: 154.6 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.4461, allocations: 497.7 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4462, allocations: 177.1 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.4462, allocations: 80.14 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.4463, allocations: 75.28 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.4463, allocations: 105.8 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4463, allocations: 4 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001189/0.4464, allocations: 41.59 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.4465, allocations: 126.7 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.4468, allocations: 242.9 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4469, allocations: 25.7 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.447, allocations: 108.1 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.447, allocations: 0 / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.4471, allocations: 41.64 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4472, allocations: 330.8 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.304e-05/0.4473, allocations: 55.95 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.4474, allocations: 62.02 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.4476, allocations: 130.3 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4476, allocations: 0 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004341/0.448, allocations: 181.5 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4481, allocations: 4 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4481, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.4481, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-06/0.4481, allocations: 4.062 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4481, allocations: 3.984 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.4482, allocations: 19.78 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.4482, allocations: 4 kB / 1.225 GB, free: 8.812 MB / 0.9825 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.4484, allocations: 209.5 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.4485, allocations: 112.9 kB / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.4485, allocations: 113.5 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-05/0.4486, allocations: 192.2 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.699e-05/0.4487, allocations: 180.2 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-05/0.4488, allocations: 184.2 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.4492, allocations: 441.2 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.479e-05/0.4492, allocations: 101 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.4493, allocations: 108.9 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.999e-05/0.4494, allocations: 184.3 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/0.4495, allocations: 184.4 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.704e-05/0.4496, allocations: 176.3 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.482e-05/0.4497, allocations: 180.3 kB / 1.227 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.4499, allocations: 327.6 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.45, allocations: 193.9 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.4501, allocations: 176.3 kB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4503, allocations: 109 kB / 1.228 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.4504, allocations: 180.2 kB / 1.228 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.4504, allocations: 105 kB / 1.228 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001715/0.4506, allocations: 151.2 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4506, allocations: 0 / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003271/0.4509, allocations: 27.92 kB / 1.229 GB, free: 5.031 MB / 0.9825 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.0006047/0.4516, allocations: 0.828 MB / 1.229 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.4518, allocations: 79.97 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4518, allocations: 0 / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-06/0.4518, allocations: 0 / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.4522, allocations: 465.5 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.4548, allocations: 2.135 MB / 1.232 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.4552, allocations: 0.7092 MB / 1.233 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.4552, allocations: 7.984 kB / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4553, allocations: 31.42 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.4553, allocations: 0 / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.4779, allocations: 2.782 MB / 1.236 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/8.899, allocations: 12.78 kB / 1.236 GB, free: 14 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv","/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