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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7611 GB, free: 11.41 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 67.89 kB / 1.104 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.137, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00441/1.142, allocations: 1.215 MB / 1.27 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004603/1.142, allocations: 65.64 kB / 1.27 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/1.142, allocations: 0 / 1.27 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.864e-05/1.142, allocations: 0 / 1.27 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001881/1.143, allocations: 7.922 kB / 1.27 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/1.143, allocations: 11.94 kB / 1.27 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/1.143, allocations: 19.91 kB / 1.27 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.503e-05/1.143, allocations: 4 kB / 1.27 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/1.143, allocations: 4 kB / 1.27 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/1.143, allocations: 8.734 kB / 1.27 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/1.143, allocations: 4 kB / 1.27 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/1.143, allocations: 11.98 kB / 1.27 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/1.144, allocations: 52.38 kB / 1.27 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.293e-05/1.144, allocations: 31.75 kB / 1.27 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/1.144, allocations: 81.34 kB / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.144, allocations: 0 / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.506e-06/1.144, allocations: 0 / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.72e-05/1.144, allocations: 0 / 1.27 GB, free: 3.652 MB / 0.9669 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.0008488/1.145, allocations: 434.6 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.381e-05/1.145, allocations: 12.03 kB / 1.271 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/1.145, allocations: 114 kB / 1.271 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/1.145, allocations: 92.11 kB / 1.271 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/1.145, allocations: 263.5 kB / 1.271 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/1.146, allocations: 154.5 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/1.146, allocations: 154.6 kB / 1.271 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.146, allocations: 105 kB / 1.271 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/1.146, allocations: 75.28 kB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/1.146, allocations: 150.6 kB / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/1.146, allocations: 154.5 kB / 1.272 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/1.146, allocations: 154.5 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/1.147, allocations: 0.4977 MB / 1.272 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/1.147, allocations: 169.1 kB / 1.273 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/1.147, allocations: 84.19 kB / 1.273 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/1.147, allocations: 75.28 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.672e-05/1.147, allocations: 117.8 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/1.147, allocations: 0 / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.000163/1.147, allocations: 37.61 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.148, allocations: 126.7 kB / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/1.148, allocations: 235 kB / 1.273 GB, free: 296 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/1.148, allocations: 25.7 kB / 1.273 GB, free: 264 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/1.148, allocations: 112.1 kB / 1.273 GB, free: 148 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/1.148, allocations: 0 / 1.273 GB, free: 148 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/1.148, allocations: 45.69 kB / 1.273 GB, free: 96 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002636/1.148, allocations: 330.8 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/1.149, allocations: 55.95 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/1.149, allocations: 54.59 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/1.149, allocations: 140.7 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.149, allocations: 3.938 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005488/1.149, allocations: 171.8 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.149, allocations: 4 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.149, allocations: 0 / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/1.149, allocations: 4.062 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-06/1.149, allocations: 8 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/1.149, allocations: 0 / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/1.15, allocations: 11.84 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/1.15, allocations: 11.98 kB / 1.274 GB, free: 15.3 MB / 0.9825 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.0002065/1.15, allocations: 205 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.15, allocations: 120.8 kB / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/1.15, allocations: 113.5 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001283/1.15, allocations: 180.2 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001276/1.15, allocations: 180.3 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/1.15, allocations: 185.8 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/1.151, allocations: 437.1 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.493e-05/1.151, allocations: 101 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/1.151, allocations: 112.9 kB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/1.151, allocations: 180.2 kB / 1.276 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.151, allocations: 180.2 kB / 1.276 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001228/1.151, allocations: 184.2 kB / 1.276 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000139/1.152, allocations: 180.3 kB / 1.276 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/1.152, allocations: 323.6 kB / 1.277 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/1.152, allocations: 194 kB / 1.277 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/1.152, allocations: 184.2 kB / 1.277 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/1.152, allocations: 101.3 kB / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.152, allocations: 188.2 kB / 1.277 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/1.152, allocations: 101 kB / 1.277 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002137/1.153, allocations: 151.2 kB / 1.278 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/1.153, allocations: 4 kB / 1.278 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000333/1.153, allocations: 19.94 kB / 1.278 GB, free: 11.53 MB / 0.9825 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.0007997/1.154, allocations: 0.8326 MB / 1.278 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002013/1.154, allocations: 59.95 kB / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.154, allocations: 0 / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/1.154, allocations: 0 / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/1.155, allocations: 455.7 kB / 1.279 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/1.158, allocations: 2.142 MB / 1.281 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/1.158, allocations: 0.7118 MB / 1.282 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.806e-05/1.158, allocations: 7.984 kB / 1.282 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/1.158, allocations: 35.42 kB / 1.282 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of SimCode: time 1.332e-06/1.158, allocations: 0 / 1.282 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/1.191, allocations: 2.793 MB / 1.285 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/9.691, allocations: 4.641 kB / 1.285 GB, free: 4.484 MB / 0.9825 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.17661101464182]