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.001361/0.001368, 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.001343/0.001344, allocations: 194.3 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.387 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 2.632/2.632, allocations: 437 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.00177, allocations: 60.14 kB / 0.8693 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.7474, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003121/0.7506, allocations: 1.211 MB / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002756/0.7508, allocations: 55.7 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.7509, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.7509, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.7511, allocations: 7.984 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.7513, allocations: 15.92 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.239e-05/0.7513, allocations: 11.98 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.7514, allocations: 4 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.7514, allocations: 11.94 kB / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.7515, allocations: 8.734 kB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.7515, allocations: 4 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.7516, allocations: 11.92 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.7517, allocations: 44.45 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.7518, allocations: 39.69 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.7519, allocations: 69.95 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.752, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.752, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.752, allocations: 0 / 1.019 GB, free: 1.043 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.00057/0.7525, allocations: 442.6 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.7526, allocations: 8.031 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.566e-05/0.7527, allocations: 106 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.7528, allocations: 88.12 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.753, allocations: 271.3 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-05/0.7531, allocations: 154.5 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.7532, allocations: 150.6 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.7533, allocations: 112.9 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.7534, allocations: 79.28 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.7535, allocations: 154.6 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.403e-05/0.7535, allocations: 150.6 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.7536, allocations: 154.5 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.7541, allocations: 0.4899 MB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.7542, allocations: 173.1 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.7543, allocations: 84.12 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.7543, allocations: 75.28 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.273e-05/0.7544, allocations: 109.8 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.7544, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001119/0.7545, allocations: 41.56 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7546, allocations: 130.7 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.7549, allocations: 235 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.7549, allocations: 25.7 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.755, allocations: 116 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.755, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.7551, allocations: 37.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7552, allocations: 330.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.7553, allocations: 55.97 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.7554, allocations: 60.7 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.7556, allocations: 132.3 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7556, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003447/0.7559, allocations: 177.4 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.756, allocations: 7.984 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.756, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.756, allocations: 8 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.756, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.756, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.7561, allocations: 15.75 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.7561, allocations: 4 kB / 1.023 GB, free: 12.7 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.0001498/0.7562, allocations: 205 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.7563, allocations: 108.9 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.7564, allocations: 121.5 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.229e-05/0.7565, allocations: 184.2 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001075/0.7566, allocations: 180.2 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.229e-05/0.7567, allocations: 184.1 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.757, allocations: 441.1 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.623e-05/0.757, allocations: 104.9 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.7571, allocations: 109 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.217e-05/0.7572, allocations: 180.3 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.7572, allocations: 180.2 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.933e-05/0.7573, allocations: 176.3 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-05/0.7574, allocations: 188.2 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.7576, allocations: 319.6 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.7577, allocations: 197.8 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.7578, allocations: 180.2 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.7579, allocations: 104.9 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.758, allocations: 180.3 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.7581, allocations: 109.3 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000134/0.7582, allocations: 156.6 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.483e-06/0.7582, allocations: 0 / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002695/0.7585, allocations: 23.88 kB / 1.026 GB, free: 8.918 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.0004637/0.759, allocations: 0.8242 MB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.7591, allocations: 75.98 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7591, allocations: 0 / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.7591, allocations: 3.938 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.7596, allocations: 465.4 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.7618, allocations: 2.121 MB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.7621, allocations: 0.7158 MB / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.7621, allocations: 7.984 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.7622, allocations: 31.42 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7622, allocations: 0 / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.7841, allocations: 2.722 MB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.741, allocations: 10.25 kB / 1.033 GB, free: 1.922 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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