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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 215.2 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.406/3.406, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 68.64 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.485, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00316/0.4882, allocations: 1.23 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003294/0.4885, allocations: 44.2 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.4885, allocations: 3.938 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/0.4886, allocations: 11.92 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.4887, allocations: 15.98 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.4889, allocations: 11.92 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.489, allocations: 11.98 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.4891, allocations: 0 / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.4891, allocations: 11.98 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.4892, allocations: 12.69 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.4892, allocations: 0 / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.4893, allocations: 7.984 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.4894, allocations: 52.39 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.4895, allocations: 31.8 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.4897, allocations: 83.73 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4897, allocations: 0 / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4897, allocations: 0 / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.4897, allocations: 0 / 1.365 GB, free: 12.56 MB / 1.061 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.0005514/0.4902, allocations: 353.6 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.4903, allocations: 8.031 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.581e-05/0.4904, allocations: 106 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.906e-05/0.4905, allocations: 88.12 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.4907, allocations: 217.6 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.4908, allocations: 154.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.4909, allocations: 154.5 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.326e-05/0.491, allocations: 108.9 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.491, allocations: 75.28 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/0.4911, allocations: 150.6 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.842e-05/0.4912, allocations: 150.6 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.4913, allocations: 150.6 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.4918, allocations: 464.9 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.4919, allocations: 173.1 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.4919, allocations: 88.14 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.492, allocations: 75.28 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.74e-05/0.4921, allocations: 109.8 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.4921, allocations: 3.938 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001159/0.4922, allocations: 41.59 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/0.4923, allocations: 126.7 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.4927, allocations: 239.6 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.4927, allocations: 29.7 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.979e-05/0.4928, allocations: 104.1 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.4928, allocations: 0 / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.4929, allocations: 41.69 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4931, allocations: 334.8 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.4932, allocations: 55.95 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.4933, allocations: 63.89 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.4935, allocations: 131.4 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4935, allocations: 0 / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004544/0.494, allocations: 169.5 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.494, allocations: 8 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.494, allocations: 0 / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.494, allocations: 0 / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.494, allocations: 3.938 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4941, allocations: 4.047 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.4941, allocations: 23.78 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.4942, allocations: 11.98 kB / 1.369 GB, free: 8.418 MB / 1.061 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.0002117/0.4944, allocations: 209 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4945, allocations: 112.9 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.4945, allocations: 113.5 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-05/0.4946, allocations: 180.2 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001162/0.4948, allocations: 184.2 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/0.4949, allocations: 188.2 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.4952, allocations: 405.3 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.894e-05/0.4953, allocations: 113 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.4953, allocations: 109 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.4954, allocations: 176.3 kB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.4955, allocations: 184.2 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.816e-05/0.4956, allocations: 180.3 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.768e-05/0.4957, allocations: 180.2 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4959, allocations: 315.9 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.496, allocations: 120.8 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.4961, allocations: 188.2 kB / 1.372 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.4962, allocations: 104.9 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.4963, allocations: 184.2 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.4964, allocations: 105 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001541/0.4965, allocations: 156.6 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4965, allocations: 0 / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002896/0.4968, allocations: 16 kB / 1.372 GB, free: 4.773 MB / 1.061 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.0005861/0.4974, allocations: 0.8242 MB / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.4976, allocations: 59.95 kB / 1.373 GB, free: 3.859 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4976, allocations: 0 / 1.373 GB, free: 3.859 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.4976, allocations: 3.938 kB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.498, allocations: 463.7 kB / 1.373 GB, free: 3.398 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.5004, allocations: 2.133 MB / 1.375 GB, free: 1.191 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.5005, allocations: 100.6 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.5005, allocations: 4 kB / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.5006, allocations: 35.42 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of SimCode: time 7.42e-07/0.5006, allocations: 0 / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.5312, allocations: 3.288 MB / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.98, allocations: 8.203 kB / 1.379 GB, free: 13.86 MB / 1.076 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.239482580684125]