Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 106.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00285/0.00285, allocations: 67.88 kB / 1.056 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.202, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003026/1.205, allocations: 1.223 MB / 1.214 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003293/1.206, allocations: 53.69 kB / 1.214 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/1.206, allocations: 1.062 kB / 1.214 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.614e-05/1.206, allocations: 7.922 kB / 1.214 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/1.206, allocations: 6.188 kB / 1.214 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/1.206, allocations: 15.02 kB / 1.214 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.188e-05/1.206, allocations: 17.48 kB / 1.214 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/1.206, allocations: 0.875 kB / 1.214 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/1.206, allocations: 12.36 kB / 1.214 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/1.206, allocations: 13.08 kB / 1.214 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/1.206, allocations: 1.062 kB / 1.214 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.594e-05/1.207, allocations: 8.297 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/1.207, allocations: 47.36 kB / 1.214 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/1.207, allocations: 36.53 kB / 1.214 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/1.207, allocations: 80.56 kB / 1.214 GB, free: 2.707 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.207, allocations: 1.062 kB / 1.214 GB, free: 2.707 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/1.207, allocations: 0 / 1.214 GB, free: 2.707 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.207, allocations: 0 / 1.214 GB, free: 2.707 MB / 0.92 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.0006161/1.207, allocations: 436.7 kB / 1.215 GB, free: 2.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.208, allocations: 10 kB / 1.215 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.245e-05/1.208, allocations: 107 kB / 1.215 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/1.208, allocations: 87.5 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/1.208, allocations: 269.3 kB / 1.215 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.23e-05/1.208, allocations: 155.6 kB / 1.215 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.483e-05/1.208, allocations: 159.6 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.974e-05/1.208, allocations: 108.9 kB / 1.216 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/1.208, allocations: 75.28 kB / 1.216 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/1.208, allocations: 151.6 kB / 1.216 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.801e-05/1.208, allocations: 158.5 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/1.208, allocations: 151.7 kB / 1.216 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/1.209, allocations: 0.4886 MB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/1.209, allocations: 170.2 kB / 1.217 GB, free: 148 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/1.209, allocations: 88.19 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/1.209, allocations: 76.34 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.246e-05/1.209, allocations: 105.8 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.209, allocations: 5.062 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.000108/1.209, allocations: 41 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/1.209, allocations: 131.8 kB / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/1.21, allocations: 229.6 kB / 1.217 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/1.21, allocations: 25.7 kB / 1.217 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.21, allocations: 114.8 kB / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/1.21, allocations: 3.938 kB / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/1.21, allocations: 34.95 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.21, allocations: 332 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/1.21, allocations: 56.89 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/1.21, allocations: 59.14 kB / 1.218 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/1.211, allocations: 136.4 kB / 1.218 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.211, allocations: 1 kB / 1.218 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004199/1.211, allocations: 178.1 kB / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.211, allocations: 5 kB / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.211, allocations: 0 / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.211, allocations: 1 kB / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.566e-06/1.211, allocations: 3.984 kB / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.211, allocations: 3.938 kB / 1.218 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/1.211, allocations: 15.28 kB / 1.218 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/1.211, allocations: 5.125 kB / 1.218 GB, free: 14.82 MB / 0.9356 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.0001655/1.211, allocations: 210.3 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/1.211, allocations: 113.5 kB / 1.219 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/1.211, allocations: 114.2 kB / 1.219 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/1.212, allocations: 181.3 kB / 1.219 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.637e-05/1.212, allocations: 181.3 kB / 1.219 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001024/1.212, allocations: 184.2 kB / 1.219 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/1.212, allocations: 436.5 kB / 1.22 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.926e-05/1.212, allocations: 106.1 kB / 1.22 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/1.212, allocations: 112.9 kB / 1.22 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.254e-05/1.212, allocations: 177.5 kB / 1.22 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.212, allocations: 181.5 kB / 1.22 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001115/1.212, allocations: 181.5 kB / 1.22 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.256e-05/1.213, allocations: 181.4 kB / 1.221 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/1.213, allocations: 322.2 kB / 1.221 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/1.213, allocations: 193.5 kB / 1.221 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.213, allocations: 185.4 kB / 1.221 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/1.213, allocations: 106.1 kB / 1.221 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.213, allocations: 185.1 kB / 1.222 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/1.213, allocations: 102 kB / 1.222 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001954/1.213, allocations: 153.1 kB / 1.222 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.213, allocations: 0 / 1.222 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003041/1.214, allocations: 29.77 kB / 1.222 GB, free: 11.16 MB / 0.9356 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.0006479/1.214, allocations: 0.8308 MB / 1.223 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001792/1.215, allocations: 56.69 kB / 1.223 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.215, allocations: 0 / 1.223 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/1.215, allocations: 0 / 1.223 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/1.215, allocations: 468.9 kB / 1.223 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/1.218, allocations: 2.131 MB / 1.225 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/1.219, allocations: 0.7076 MB / 1.226 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.645e-05/1.219, allocations: 5.719 kB / 1.226 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/1.219, allocations: 33.64 kB / 1.226 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/1.219, allocations: 0 / 1.226 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/1.249, allocations: 2.791 MB / 1.229 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/9.733, allocations: 7.797 kB / 1.229 GB, free: 6.07 MB / 0.9356 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.963024981785566]