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.0008028/0.0008028, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007758/0.0007758, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9042/0.9042, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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 1.765/1.765, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.782e-05, allocations: 5.234 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001665/0.001693, allocations: 1.232 MB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002216/0.001915, allocations: 43.86 kB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.001948, allocations: 4 kB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.001984, allocations: 3.938 kB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.002112, allocations: 11.86 kB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.002289, allocations: 19.91 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.603e-05/0.002365, allocations: 11.94 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.002409, allocations: 4 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.00246, allocations: 7.984 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.002519, allocations: 12.73 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.002536, allocations: 0 / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.002617, allocations: 7.984 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.69e-05/0.002704, allocations: 56.41 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.002731, allocations: 19.94 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.002849, allocations: 67.7 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002851, allocations: 0 / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.843e-06/0.002853, allocations: 0 / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.002858, allocations: 0 / 1.001 GB, free: 12.02 MB / 0.9636 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.0003505/0.003209, allocations: 353.5 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.003253, allocations: 8.75 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.003293, allocations: 110 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.00334, allocations: 88.17 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.003458, allocations: 212.8 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.003493, allocations: 154.9 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.003531, allocations: 158.9 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.95e-05/0.00358, allocations: 108.9 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.003598, allocations: 75.28 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.003629, allocations: 150.6 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.00366, allocations: 150.6 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.54e-05/0.003695, allocations: 154.6 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.003912, allocations: 472.8 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.003975, allocations: 169.1 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.004, allocations: 80.14 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.004018, allocations: 79.22 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.004047, allocations: 109.8 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.004048, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.49e-05/0.004113, allocations: 45.55 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.004152, allocations: 126.7 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.004318, allocations: 231.1 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.004327, allocations: 25.7 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.00438, allocations: 112.1 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/0.004383, allocations: 4 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.004421, allocations: 41.69 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.0045, allocations: 326.8 kB / 1.004 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/0.004561, allocations: 55.95 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.004611, allocations: 60.69 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.004726, allocations: 139.3 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004728, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002286/0.004957, allocations: 181.4 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.004971, allocations: 8 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.004978, allocations: 0 / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.004991, allocations: 0 / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.004992, allocations: 64 / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004997, allocations: 4 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.005028, allocations: 15.84 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.005044, allocations: 7.984 kB / 1.005 GB, free: 7.875 MB / 0.9636 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 8.665e-05/0.00513, allocations: 197.1 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.005169, allocations: 116.9 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.005213, allocations: 125.4 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.059e-05/0.005253, allocations: 176.3 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-05/0.005294, allocations: 180.2 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/0.005332, allocations: 184.2 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.005481, allocations: 412.2 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/0.005504, allocations: 113.1 kB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.005528, allocations: 105 kB / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.418e-05/0.005562, allocations: 180.2 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.0056, allocations: 184.2 kB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.36e-05/0.005634, allocations: 176.3 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001041/0.005738, allocations: 180.2 kB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.85e-05/0.005826, allocations: 323.6 kB / 1.007 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.005858, allocations: 116.9 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.005904, allocations: 176.3 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.005953, allocations: 108.9 kB / 1.008 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.005996, allocations: 184.3 kB / 1.008 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.006019, allocations: 108.9 kB / 1.008 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.032e-05/0.0061, allocations: 155.2 kB / 1.008 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.0061, allocations: 0 / 1.008 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001599/0.00626, allocations: 23.94 kB / 1.008 GB, free: 4.227 MB / 0.9636 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.0002906/0.00655, allocations: 0.8125 MB / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.006672, allocations: 71.89 kB / 1.009 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006674, allocations: 0 / 1.009 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.006676, allocations: 4 kB / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.006917, allocations: 461.8 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.008317, allocations: 2.15 MB / 1.012 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.008377, allocations: 96.73 kB / 1.012 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.579e-05/0.008393, allocations: 11.98 kB / 1.012 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.008435, allocations: 36.42 kB / 1.012 GB, free: 484 kB / 0.9636 GB Notification: Performance of SimCode: time 4.4e-07/0.008435, allocations: 0 / 1.012 GB, free: 484 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.02378, allocations: 3.438 MB / 1.015 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.539/6.563, allocations: 2.438 kB / 1.015 GB, free: 13.15 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.761186881922185]