Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_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.005141/0.00514, allocations: 100.4 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.0013/0.0013, allocations: 190.6 kB / 16.67 MB, free: 5.926 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 64.11 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.155, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002619/1.157, allocations: 1.2 MB / 1.221 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002885/1.158, allocations: 65.72 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/1.158, allocations: 0 / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/1.158, allocations: 0 / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/1.158, allocations: 11.92 kB / 1.221 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/1.158, allocations: 8 kB / 1.221 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.935e-05/1.158, allocations: 23.84 kB / 1.221 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/1.158, allocations: 3.984 kB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/1.158, allocations: 4 kB / 1.221 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/1.158, allocations: 20.73 kB / 1.221 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/1.158, allocations: 0 / 1.221 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/1.158, allocations: 4 kB / 1.221 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.159, allocations: 56.36 kB / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/1.159, allocations: 35.75 kB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/1.159, allocations: 71.25 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.159, allocations: 0 / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.765e-06/1.159, allocations: 0 / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.159, allocations: 0 / 1.222 GB, free: 0.5312 MB / 0.9356 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.000568/1.159, allocations: 438.6 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.159, allocations: 8.031 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.954e-05/1.159, allocations: 106 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/1.16, allocations: 92.06 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/1.16, allocations: 271.4 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/1.16, allocations: 154.5 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/1.16, allocations: 154.6 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/1.16, allocations: 101 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/1.16, allocations: 75.28 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/1.16, allocations: 154.6 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.602e-05/1.16, allocations: 150.6 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.841e-05/1.16, allocations: 158.5 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/1.161, allocations: 0.4899 MB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/1.161, allocations: 173.1 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/1.161, allocations: 88.12 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/1.161, allocations: 75.28 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.273e-05/1.161, allocations: 109.8 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.161, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/1.161, allocations: 41.55 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/1.161, allocations: 126.7 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/1.162, allocations: 239 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/1.162, allocations: 25.7 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/1.162, allocations: 108.1 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-06/1.162, allocations: 7.984 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/1.162, allocations: 41.69 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.162, allocations: 326.8 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/1.162, allocations: 51.97 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/1.162, allocations: 59.95 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/1.162, allocations: 139 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.162, allocations: 0 / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003265/1.163, allocations: 181.4 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.163, allocations: 8.062 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.163, allocations: 0 / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.163, allocations: 0 / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/1.163, allocations: 0 / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.163, allocations: 0 / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/1.163, allocations: 15.84 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.163, allocations: 4 kB / 1.226 GB, free: 12.19 MB / 0.9512 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.0001646/1.163, allocations: 205 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/1.163, allocations: 116.8 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/1.163, allocations: 117.5 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/1.163, allocations: 188.3 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001097/1.163, allocations: 180.2 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.602e-05/1.164, allocations: 176.3 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/1.164, allocations: 445.1 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.256e-05/1.164, allocations: 105 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/1.164, allocations: 101 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/1.164, allocations: 184.2 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/1.164, allocations: 181.2 kB / 1.227 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.364e-05/1.164, allocations: 184.2 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.492e-05/1.164, allocations: 180.2 kB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/1.165, allocations: 327.6 kB / 1.228 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.165, allocations: 194 kB / 1.228 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.165, allocations: 180.2 kB / 1.229 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/1.165, allocations: 105.3 kB / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/1.165, allocations: 180.3 kB / 1.229 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/1.165, allocations: 105 kB / 1.229 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001642/1.165, allocations: 155.2 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/1.165, allocations: 0 / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000275/1.166, allocations: 23.94 kB / 1.229 GB, free: 8.41 MB / 0.9512 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.0005949/1.166, allocations: 0.8275 MB / 1.23 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000173/1.166, allocations: 83.89 kB / 1.23 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.166, allocations: 0 / 1.23 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/1.166, allocations: 0 / 1.23 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/1.167, allocations: 459.8 kB / 1.23 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/1.169, allocations: 2.136 MB / 1.232 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/1.17, allocations: 0.7119 MB / 1.233 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.471e-05/1.17, allocations: 11.92 kB / 1.233 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/1.17, allocations: 31.42 kB / 1.233 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of SimCode: time 8.22e-07/1.17, allocations: 0 / 1.233 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/1.2, allocations: 2.767 MB / 1.236 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.872, allocations: 23.94 kB / 1.236 GB, free: 1.355 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches