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.004863/0.004863, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001369/0.001369, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.215/2.215, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 67.89 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5859, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001931/0.5879, allocations: 1.211 MB / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.5881, allocations: 57.67 kB / 1.167 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.5882, allocations: 4 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.5882, allocations: 0 / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.5883, allocations: 3.984 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.5884, allocations: 19.92 kB / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.848e-05/0.5885, allocations: 11.98 kB / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.5885, allocations: 8 kB / 1.167 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.511e-05/0.5885, allocations: 7.938 kB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.5886, allocations: 16.72 kB / 1.167 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.5886, allocations: 0 / 1.167 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.974e-05/0.5887, allocations: 7.938 kB / 1.167 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.5888, allocations: 48.44 kB / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.5888, allocations: 39.69 kB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.5889, allocations: 67.31 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5889, allocations: 4 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5889, allocations: 0 / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.589, allocations: 0 / 1.168 GB, free: 2.289 MB / 0.8887 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.0003941/0.5894, allocations: 434.6 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.5894, allocations: 8.922 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.5894, allocations: 110 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.5895, allocations: 88.12 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.5897, allocations: 275.4 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.5898, allocations: 158.5 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.5898, allocations: 150.6 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.604e-05/0.5899, allocations: 112.9 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.5899, allocations: 75.28 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.59, allocations: 150.6 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.5901, allocations: 158.6 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.68e-05/0.5901, allocations: 154.5 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.5904, allocations: 0.4939 MB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.5905, allocations: 171.5 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.5906, allocations: 84.19 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.5906, allocations: 79.28 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.5907, allocations: 105.8 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.5907, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.254e-05/0.5907, allocations: 37.61 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.5908, allocations: 134.6 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.591, allocations: 227.1 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.5911, allocations: 29.7 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.5911, allocations: 112.1 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.5911, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.5912, allocations: 41.69 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5913, allocations: 326.8 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.5914, allocations: 59.95 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.5915, allocations: 51.97 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.5916, allocations: 139.2 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5916, allocations: 4.031 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00027/0.5919, allocations: 178 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.5919, allocations: 7.938 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5919, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.592, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.592, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.592, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.592, allocations: 15.84 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.592, allocations: 8 kB / 1.172 GB, free: 13.94 MB / 0.9044 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.0001137/0.5921, allocations: 209.1 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.5922, allocations: 116.9 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.5923, allocations: 121.5 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.389e-05/0.5923, allocations: 176.3 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.285e-05/0.5924, allocations: 176.3 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.468e-05/0.5925, allocations: 184.1 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.5927, allocations: 445.1 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/0.5928, allocations: 104.9 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.5928, allocations: 101 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.631e-05/0.5929, allocations: 180.3 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.593, allocations: 188.2 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.015e-05/0.593, allocations: 176.3 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.389e-05/0.5931, allocations: 184.2 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.5933, allocations: 319.7 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.5933, allocations: 197.9 kB / 1.174 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.5934, allocations: 180.2 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.5935, allocations: 113.2 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.5936, allocations: 176.3 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.5937, allocations: 101 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001251/0.5938, allocations: 160.6 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5938, allocations: 0 / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002137/0.594, allocations: 23.94 kB / 1.175 GB, free: 10.16 MB / 0.9044 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.0004014/0.5944, allocations: 0.8243 MB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.5946, allocations: 79.95 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.5946, allocations: 0 / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/0.5946, allocations: 3.938 kB / 1.176 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.5949, allocations: 463.8 kB / 1.176 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.5968, allocations: 2.131 MB / 1.179 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.5971, allocations: 0.708 MB / 1.179 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.5971, allocations: 7.984 kB / 1.179 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.5971, allocations: 31.42 kB / 1.179 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.5971, allocations: 4.031 kB / 1.179 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.946/10.54, allocations: 2.77 MB / 1.182 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.57/34.12, allocations: 9.125 kB / 1.182 GB, free: 3.121 MB / 0.9044 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=400 --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