Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_10_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.001601/0.001601, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002397/0.002397, allocations: 191.8 kB / 16.53 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.008/3.008, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 59.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9393/0.9411, allocations: 151.6 MB / 1.017 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003654/0.9448, allocations: 1.209 MB / 1.019 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003199/0.9452, allocations: 55.7 kB / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.9452, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.9453, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.9455, allocations: 7.984 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.9457, allocations: 15.92 kB / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.072e-05/0.9458, allocations: 8 kB / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.579e-05/0.9458, allocations: 7.984 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.9459, allocations: 15.98 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.946, allocations: 8.688 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.946, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.9461, allocations: 11.92 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.9462, allocations: 44.45 kB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.9463, allocations: 39.69 kB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.9465, allocations: 69.95 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9465, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9465, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9465, allocations: 4 kB / 1.019 GB, free: 1.098 MB / 0.7637 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.0005794/0.9471, allocations: 438.6 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.9471, allocations: 8.031 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.711e-05/0.9472, allocations: 110 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.9473, allocations: 80.12 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.9476, allocations: 271.3 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.9477, allocations: 154.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.9478, allocations: 154.6 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.9479, allocations: 108.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.9479, allocations: 83.28 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.948, allocations: 150.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.028e-05/0.9481, allocations: 150.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.9481, allocations: 158.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.9486, allocations: 0.4938 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.9487, allocations: 169.1 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.9487, allocations: 80.14 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.9488, allocations: 75.28 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/0.9488, allocations: 117.8 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.9489, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001257/0.949, allocations: 41.56 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.9491, allocations: 134.7 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.9494, allocations: 227 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.9494, allocations: 29.64 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.9495, allocations: 116 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.9495, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.9496, allocations: 33.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9497, allocations: 334.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.615e-05/0.9498, allocations: 55.97 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.9499, allocations: 55.95 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.9501, allocations: 132 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9501, allocations: 4 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003941/0.9505, allocations: 173.4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9506, allocations: 8.062 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9506, allocations: 3.984 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.9506, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-06/0.9506, allocations: 3.938 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9506, allocations: 3.984 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.9507, allocations: 15.75 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.9507, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 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.0001505/0.9509, allocations: 205 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.951, allocations: 112.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.951, allocations: 117.5 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.151e-05/0.9511, allocations: 184.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.818e-05/0.9512, allocations: 176.3 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.358e-05/0.9513, allocations: 184.1 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.9516, allocations: 441.1 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/0.9517, allocations: 105 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.9517, allocations: 112.9 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.29e-05/0.9518, allocations: 180.3 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-05/0.9519, allocations: 180.2 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.8e-05/0.952, allocations: 176.3 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-05/0.9521, allocations: 184.2 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.9523, allocations: 319.6 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.9524, allocations: 197.8 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.9525, allocations: 180.2 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/0.9526, allocations: 108.9 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.9527, allocations: 184.3 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.9527, allocations: 101.3 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001432/0.9529, allocations: 156.6 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9529, allocations: 0 / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002995/0.9532, allocations: 23.94 kB / 1.026 GB, free: 8.977 MB / 0.7794 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.0005451/0.9538, allocations: 0.828 MB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.9539, allocations: 75.98 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9539, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.954, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.9544, allocations: 467.7 kB / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.9569, allocations: 2.122 MB / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.9573, allocations: 0.708 MB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.9573, allocations: 4 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.9574, allocations: 31.42 kB / 1.03 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.9574, allocations: 0 / 1.03 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.9861, allocations: 2.732 MB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.901, allocations: 12.06 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches