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.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.001275/0.001275, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001438/0.001438, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.979/2.979, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_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.002014/0.002014, allocations: 67.28 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4061, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002435/0.4085, allocations: 1.233 MB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002741/0.4088, allocations: 51.83 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.4088, allocations: 4 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.4088, allocations: 0 / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.409, allocations: 7.984 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.4091, allocations: 7.875 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.72e-05/0.4092, allocations: 27.91 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.4093, allocations: 0 / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.4093, allocations: 4 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.4094, allocations: 12.67 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.4094, allocations: 0 / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.4095, allocations: 12 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.4096, allocations: 56.42 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.4096, allocations: 35.75 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.4098, allocations: 72.52 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4098, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4098, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.4098, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 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.0005013/0.4103, allocations: 353.6 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4104, allocations: 15.97 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.165e-05/0.4104, allocations: 75.47 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.4105, allocations: 110 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.4106, allocations: 88.11 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4108, allocations: 221.3 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.4108, allocations: 150.7 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.4109, allocations: 154.6 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.799e-05/0.411, allocations: 109 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.4111, allocations: 75.28 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.4112, allocations: 150.6 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.278e-05/0.4112, allocations: 150.6 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.4113, allocations: 154.5 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.4117, allocations: 468.9 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.4118, allocations: 173.1 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.4118, allocations: 80.14 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.4119, allocations: 75.28 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.388e-05/0.4119, allocations: 113.8 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.412, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.169e-05/0.412, allocations: 41.55 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.4121, allocations: 126.7 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.4124, allocations: 227 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4124, allocations: 25.7 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.4125, allocations: 116.1 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.4125, allocations: 4 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.4126, allocations: 41.69 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4128, allocations: 330.8 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.4128, allocations: 51.97 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/0.4129, allocations: 58.77 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.4131, allocations: 140.7 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4131, allocations: 3.938 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003534/0.4135, allocations: 175.9 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4135, allocations: 10.19 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4135, allocations: 0 / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4135, allocations: 0 / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-06/0.4135, allocations: 8.062 kB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4135, allocations: 0 / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.4136, allocations: 23.72 kB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.4136, allocations: 4 kB / 1.289 GB, free: 4.918 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.0001549/0.4137, allocations: 206.3 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.4138, allocations: 112.9 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.4139, allocations: 117.5 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.261e-05/0.414, allocations: 182 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.309e-05/0.4141, allocations: 180.2 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.048e-05/0.4142, allocations: 176.3 kB / 1.29 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.4145, allocations: 424.1 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.608e-05/0.4145, allocations: 105 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.4146, allocations: 101 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.4147, allocations: 180.2 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-05/0.4148, allocations: 184.3 kB / 1.291 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.57e-05/0.4149, allocations: 188.2 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-05/0.415, allocations: 176.3 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.4152, allocations: 323.6 kB / 1.292 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.4153, allocations: 116.9 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4154, allocations: 184.2 kB / 1.292 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.4155, allocations: 105.3 kB / 1.292 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4156, allocations: 184.3 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.4156, allocations: 109 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001445/0.4158, allocations: 156.6 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4158, allocations: 0 / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002471/0.416, allocations: 16 kB / 1.293 GB, free: 1.27 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.0006602/0.4167, allocations: 0.8203 MB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.4169, allocations: 63.89 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4169, allocations: 0 / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.4169, allocations: 64 / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.4174, allocations: 465.6 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.4198, allocations: 2.136 MB / 1.296 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.4199, allocations: 100.6 kB / 1.296 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.4199, allocations: 8 kB / 1.296 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.4199, allocations: 27.42 kB / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.4199, allocations: 3.938 kB / 1.296 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.4442, allocations: 2.939 MB / 1.299 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.04, allocations: 3.984 kB / 1.299 GB, free: 10.73 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 19.331504661007784]