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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002072/0.002072, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002968/0.002968, allocations: 189.5 kB / 16.25 MB, free: 6.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.456/2.456, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.665/3.665, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 60.81 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4253, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003582/0.4289, allocations: 1.265 MB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.4293, allocations: 59.81 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.4293, allocations: 0 / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.4294, allocations: 0 / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.4295, allocations: 3.938 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.4298, allocations: 15.97 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.4299, allocations: 15.94 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.43, allocations: 4 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.43, allocations: 11.92 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.4301, allocations: 21.48 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.4302, allocations: 0 / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.669e-05/0.4302, allocations: 4 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.4304, allocations: 48.44 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.4304, allocations: 39.69 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.4306, allocations: 75.86 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4306, allocations: 0 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4306, allocations: 4 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4306, allocations: 4 kB / 1.054 GB, free: 7.047 MB / 0.8106 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.0006056/0.4312, allocations: 424.4 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.4313, allocations: 8.625 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.691e-05/0.4314, allocations: 106 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.4315, allocations: 84.12 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.4317, allocations: 270.5 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.4318, allocations: 158.6 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.4318, allocations: 158.5 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.12e-05/0.4319, allocations: 105 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.432, allocations: 79.27 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.432, allocations: 150.6 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.4321, allocations: 150.6 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.4322, allocations: 162.5 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.4326, allocations: 497.7 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.615e-05/0.4327, allocations: 169.1 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.4327, allocations: 80.14 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.4328, allocations: 83.28 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.4328, allocations: 105.8 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.4328, allocations: 0 / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001115/0.433, allocations: 45.44 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.433, allocations: 126.7 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.4333, allocations: 227 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.4333, allocations: 29.7 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.4334, allocations: 108.1 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-06/0.4334, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.4335, allocations: 41.7 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4336, allocations: 326.8 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.4337, allocations: 55.95 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.4338, allocations: 51.97 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.434, allocations: 138.6 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.434, allocations: 0 / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003588/0.4344, allocations: 187.2 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4344, allocations: 7.938 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4344, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4344, allocations: 4 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-06/0.4344, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4345, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.4345, allocations: 27.61 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.4346, allocations: 4 kB / 1.058 GB, free: 2.723 MB / 0.8106 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.0001339/0.4347, allocations: 197.1 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.4348, allocations: 120.8 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.4348, allocations: 113.5 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.881e-05/0.4349, allocations: 180.3 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.27e-05/0.435, allocations: 188.2 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.949e-05/0.4351, allocations: 180.2 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.4354, allocations: 437.1 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.4354, allocations: 105 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.4355, allocations: 105.1 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.55e-05/0.4355, allocations: 180.2 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.4356, allocations: 192.3 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.715e-05/0.4357, allocations: 184.2 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.439e-05/0.4358, allocations: 184.2 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.436, allocations: 319.6 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.4361, allocations: 185.9 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.4362, allocations: 184.2 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.4363, allocations: 109 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.4363, allocations: 180.2 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.4364, allocations: 112.9 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001236/0.4365, allocations: 160.6 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4365, allocations: 0 / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002628/0.4368, allocations: 16 kB / 1.061 GB, free: 14.95 MB / 0.8262 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.000492/0.4373, allocations: 0.8203 MB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.4375, allocations: 79.89 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4375, allocations: 4 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.4375, allocations: 0 / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.4379, allocations: 467.6 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.4401, allocations: 2.14 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.4405, allocations: 0.7117 MB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.4405, allocations: 7.984 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.4406, allocations: 35.42 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4406, allocations: 0 / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.114/2.554, allocations: 2.659 MB / 1.068 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003866/2.555, allocations: 228.8 kB / 1.068 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/5.682, allocations: 0 / 1.068 GB, free: 7.801 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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