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.001847/0.001847, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002236/0.002236, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.73/1.73, allocations: 230.6 MB / 256 MB, free: 7.98 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.635/3.635, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002076/0.002076, allocations: 69.5 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4957, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002567/0.4983, allocations: 1.235 MB / 1.354 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.4985, allocations: 60.17 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.4986, allocations: 0 / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.4986, allocations: 0 / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.4987, allocations: 11.98 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.4989, allocations: 7.922 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.63e-05/0.499, allocations: 23.92 kB / 1.354 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.499, allocations: 0 / 1.354 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.4991, allocations: 4 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.4991, allocations: 16.66 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.4992, allocations: 0 / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.4992, allocations: 8 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.4993, allocations: 48.44 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.4994, allocations: 43.69 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.4995, allocations: 71.8 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4995, allocations: 4 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4996, allocations: 0 / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4996, allocations: 0 / 1.354 GB, free: 6.914 MB / 1.045 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.0004904/0.5, allocations: 357.5 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5001, allocations: 19.95 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.264e-05/0.5002, allocations: 106 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.5003, allocations: 88.12 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.5004, allocations: 213.6 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.5005, allocations: 158.4 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.5006, allocations: 150.6 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.508e-05/0.5007, allocations: 105 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.5007, allocations: 79.28 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.5008, allocations: 150.6 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.941e-05/0.5009, allocations: 150.6 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.5009, allocations: 154.5 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.5013, allocations: 472.9 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.5014, allocations: 169.1 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.5014, allocations: 84.14 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.5015, allocations: 75.28 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.988e-05/0.5015, allocations: 109.8 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.5015, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.723e-05/0.5016, allocations: 41.59 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.5017, allocations: 126.7 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.502, allocations: 231.7 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.502, allocations: 29.69 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.5021, allocations: 112.1 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-06/0.5021, allocations: 0 / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.5022, allocations: 41.69 kB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5023, allocations: 330.8 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.5024, allocations: 59.95 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.5025, allocations: 51.97 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.5027, allocations: 143.6 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5027, allocations: 0 / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000337/0.503, allocations: 177.4 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.503, allocations: 5.562 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.503, allocations: 0 / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5031, allocations: 64 / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.5031, allocations: 4 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5031, allocations: 0 / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.5031, allocations: 19.78 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.5031, allocations: 15.92 kB / 1.358 GB, free: 2.766 MB / 1.045 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.0001521/0.5033, allocations: 208.9 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.5034, allocations: 116.9 kB / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.5034, allocations: 117.4 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.395e-05/0.5035, allocations: 180.3 kB / 1.359 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.533e-05/0.5036, allocations: 188.1 kB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.939e-05/0.5037, allocations: 176.3 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.504, allocations: 412.2 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-05/0.504, allocations: 109 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.5041, allocations: 109 kB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.038e-05/0.5042, allocations: 180.2 kB / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-05/0.5043, allocations: 180.8 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.18e-05/0.5043, allocations: 176.3 kB / 1.36 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.522e-05/0.5044, allocations: 188.2 kB / 1.36 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.5046, allocations: 319.8 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.5047, allocations: 116.9 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/0.5048, allocations: 184.3 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.5049, allocations: 104.9 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.505, allocations: 176.3 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.505, allocations: 112.9 kB / 1.361 GB, free: 15.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001379/0.5052, allocations: 156.6 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5052, allocations: 4 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002521/0.5054, allocations: 16 kB / 1.362 GB, free: 15.11 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.0005179/0.506, allocations: 0.8204 MB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.5061, allocations: 67.88 kB / 1.362 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5061, allocations: 0 / 1.362 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.5061, allocations: 0 / 1.362 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.5066, allocations: 463.7 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.5089, allocations: 2.129 MB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.5092, allocations: 0.7132 MB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.5092, allocations: 11.92 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.5093, allocations: 35.42 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.5093, allocations: 0 / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.5429, allocations: 2.868 MB / 1.368 GB, free: 8.004 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.86, allocations: 8.766 kB / 1.368 GB, free: 8 MB / 1.061 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.86593794100918]