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.001428/0.001428, allocations: 97.88 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.001503/0.001503, allocations: 218.5 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.404/3.404, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.002039/0.002039, allocations: 65.72 kB / 1.17 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.45, allocations: 179 MB / 1.345 GB, free: 16 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002572/0.4526, allocations: 1.239 MB / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002825/0.4529, allocations: 48.19 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.4529, allocations: 0 / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.4529, allocations: 0 / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.453, allocations: 11.92 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.4532, allocations: 12 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.4533, allocations: 23.91 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.4534, allocations: 0 / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.4534, allocations: 8 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.4535, allocations: 8.734 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4535, allocations: 0 / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.22e-05/0.4536, allocations: 4 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.4537, allocations: 56.36 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.4537, allocations: 31.81 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.4539, allocations: 87.73 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4539, allocations: 0 / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4539, allocations: 0 / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.4539, allocations: 7.922 kB / 1.347 GB, free: 14.45 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.0004758/0.4544, allocations: 349.6 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4544, allocations: 12.03 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.13e-05/0.4545, allocations: 75.47 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.065e-05/0.4545, allocations: 106 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.4546, allocations: 100.1 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.4548, allocations: 214.1 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/0.4549, allocations: 150.6 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.4549, allocations: 154.6 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.897e-05/0.455, allocations: 105 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.4551, allocations: 79.22 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.4551, allocations: 154.5 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.87e-05/0.4552, allocations: 154.6 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.4553, allocations: 150.6 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.4556, allocations: 468.9 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4558, allocations: 173.1 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.4558, allocations: 80.14 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.4558, allocations: 79.22 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.4559, allocations: 113.8 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4559, allocations: 0 / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.131e-05/0.456, allocations: 37.59 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.4561, allocations: 126.7 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.4563, allocations: 235 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4564, allocations: 25.7 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.4564, allocations: 108.1 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-06/0.4564, allocations: 3.984 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.4565, allocations: 45.69 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4566, allocations: 326.8 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.4567, allocations: 55.95 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.884e-05/0.4568, allocations: 59.91 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.457, allocations: 138.3 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.457, allocations: 0 / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003402/0.4573, allocations: 178.6 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4573, allocations: 10.19 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4574, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4574, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.4574, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4574, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.4574, allocations: 19.78 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.4574, allocations: 8.062 kB / 1.351 GB, free: 10.23 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.0001536/0.4576, allocations: 205 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.4577, allocations: 116.8 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.453e-05/0.4578, allocations: 117.2 kB / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-05/0.4579, allocations: 188.2 kB / 1.351 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.882e-05/0.4579, allocations: 176.3 kB / 1.351 GB, free: 9.402 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.672e-05/0.458, allocations: 176.3 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.4583, allocations: 416.1 kB / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.263e-05/0.4584, allocations: 109 kB / 1.352 GB, free: 8.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.4585, allocations: 104.9 kB / 1.352 GB, free: 8.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.969e-05/0.4586, allocations: 180.3 kB / 1.352 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.431e-05/0.4586, allocations: 188.2 kB / 1.353 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.64e-05/0.4587, allocations: 180.2 kB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.991e-05/0.4588, allocations: 180.4 kB / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.459, allocations: 323.6 kB / 1.353 GB, free: 7.461 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.4591, allocations: 120.8 kB / 1.353 GB, free: 7.336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.4592, allocations: 180.3 kB / 1.353 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.4593, allocations: 104.9 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.4594, allocations: 188.2 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.4595, allocations: 101 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001374/0.4596, allocations: 160.6 kB / 1.354 GB, free: 6.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4596, allocations: 4 kB / 1.354 GB, free: 6.586 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002417/0.4598, allocations: 16 kB / 1.354 GB, free: 6.57 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.0005453/0.4604, allocations: 0.8203 MB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.4605, allocations: 63.95 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4606, allocations: 0 / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.4606, allocations: 0 / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.461, allocations: 464.7 kB / 1.355 GB, free: 5.199 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.4633, allocations: 2.13 MB / 1.357 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.4634, allocations: 102.1 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.4635, allocations: 4 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.4635, allocations: 35.42 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.4635, allocations: 0 / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.4871, allocations: 2.946 MB / 1.36 GB, free: 28 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.13, allocations: 5.312 kB / 1.36 GB, free: 28 kB / 1.045 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.537606272962876]