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.001728/0.001728, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002341/0.002341, allocations: 217.4 kB / 23.04 MB, free: 5.074 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.701/1.701, allocations: 230.6 MB / 256.8 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.481/3.481, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="cs",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.002391/0.002391, allocations: 63.48 kB / 1.171 GB, free: 19.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4982, allocations: 179 MB / 1.345 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002963/0.5011, allocations: 1.243 MB / 1.347 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.5014, allocations: 56.22 kB / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.5015, allocations: 4 kB / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.03e-05/0.5015, allocations: 0 / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.5016, allocations: 3.938 kB / 1.347 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.5019, allocations: 15.97 kB / 1.347 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.502, allocations: 15.94 kB / 1.347 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.502, allocations: 11.98 kB / 1.347 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.5021, allocations: 4 kB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.5022, allocations: 16.66 kB / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.5022, allocations: 0 / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.5023, allocations: 4 kB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.5024, allocations: 48.44 kB / 1.347 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.5025, allocations: 39.69 kB / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.5027, allocations: 75.75 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5027, allocations: 4 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5027, allocations: 4 kB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.5027, allocations: 0 / 1.347 GB, free: 14.93 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.0006461/0.5034, allocations: 353.6 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.5035, allocations: 12.03 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.212e-05/0.5035, allocations: 75.47 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.5036, allocations: 110 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.5037, allocations: 88.12 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.504, allocations: 226 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.5041, allocations: 150.6 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.5042, allocations: 150.6 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5044, allocations: 101 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.5044, allocations: 75.28 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.5045, allocations: 150.6 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.5046, allocations: 154.6 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.5047, allocations: 162.4 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.5052, allocations: 464.9 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.5053, allocations: 177.1 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.5054, allocations: 84.14 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.5054, allocations: 75.28 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.666e-05/0.5055, allocations: 109.8 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.5055, allocations: 0 / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.5056, allocations: 33.66 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.5057, allocations: 126.7 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.506, allocations: 243 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.506, allocations: 25.7 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5061, allocations: 108.1 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.5061, allocations: 4 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.5062, allocations: 41.69 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.5064, allocations: 326.8 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.5065, allocations: 51.97 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.5066, allocations: 62.2 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.5068, allocations: 136.8 kB / 1.351 GB, free: 10.94 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5068, allocations: 0 / 1.351 GB, free: 10.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004338/0.5072, allocations: 183.8 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5073, allocations: 8 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5073, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5073, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/0.5073, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5073, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.5073, allocations: 19.78 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.5074, allocations: 4 kB / 1.351 GB, free: 10.72 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.0001815/0.5076, allocations: 213.7 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.5076, allocations: 116.8 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.5077, allocations: 117.2 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-05/0.5078, allocations: 184.3 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.893e-05/0.5079, allocations: 180.2 kB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.011e-05/0.508, allocations: 180.3 kB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.5083, allocations: 416.1 kB / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-05/0.5084, allocations: 109 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.5084, allocations: 104.9 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-05/0.5085, allocations: 180.3 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.5086, allocations: 176.3 kB / 1.353 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.744e-05/0.5087, allocations: 188.2 kB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.7e-05/0.5088, allocations: 180.5 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.509, allocations: 323.6 kB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.5091, allocations: 116.9 kB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5092, allocations: 192.1 kB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5093, allocations: 105 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.5094, allocations: 180.2 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.5095, allocations: 101 kB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001652/0.5096, allocations: 160.6 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5096, allocations: 0 / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002809/0.5099, allocations: 20 kB / 1.354 GB, free: 7.059 MB / 1.045 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.0005965/0.5105, allocations: 0.8203 MB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.5107, allocations: 55.97 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5107, allocations: 0 / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.5107, allocations: 4 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.5111, allocations: 469.1 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.5136, allocations: 2.136 MB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.5139, allocations: 0.708 MB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.5139, allocations: 20 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.514, allocations: 31.42 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/0.514, allocations: 0 / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.5409, allocations: 2.906 MB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.04, allocations: 0 / 1.361 GB, free: 15.93 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.830135861004237]