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.001668/0.001668, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002155/0.002155, allocations: 214.6 kB / 22.26 MB, free: 5.125 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.973 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 3.035/3.035, allocations: 476.7 MB / 0.7707 GB, free: 4.254 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",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.002113/0.002113, allocations: 63.33 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4251, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003466/0.4285, allocations: 1.241 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003471/0.4289, allocations: 51.81 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.4289, allocations: 4 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.4289, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.4291, allocations: 4 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.4293, allocations: 19.91 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.4294, allocations: 15.92 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.4294, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.4295, allocations: 15.92 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.4296, allocations: 12.73 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.4296, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.4297, allocations: 4 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4298, allocations: 52.44 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.4299, allocations: 39.69 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.43, allocations: 79.05 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.43, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.43, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4301, allocations: 0 / 1.285 GB, free: 10.18 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.0005684/0.4306, allocations: 353.6 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.4307, allocations: 8.031 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.019e-05/0.4307, allocations: 114 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.4308, allocations: 88.12 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.4311, allocations: 213.5 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/0.4311, allocations: 154.5 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.4312, allocations: 158.6 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.364e-05/0.4313, allocations: 105.1 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.4313, allocations: 79.28 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.4314, allocations: 154.5 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.053e-05/0.4315, allocations: 150.6 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.4316, allocations: 154.5 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.432, allocations: 476.8 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.4321, allocations: 177.1 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.4322, allocations: 80.14 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.4322, allocations: 75.28 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.899e-05/0.4323, allocations: 113.8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.4323, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001211/0.4324, allocations: 45.55 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/0.4325, allocations: 126.7 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.4328, allocations: 223.1 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.4328, allocations: 25.7 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.4329, allocations: 112.1 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.4329, allocations: 0 / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.433, allocations: 37.69 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.4332, allocations: 338.8 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.896e-05/0.4333, allocations: 51.97 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.4334, allocations: 58.02 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.4336, allocations: 136 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4336, allocations: 3.938 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004364/0.4341, allocations: 181.4 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4341, allocations: 4 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.4341, allocations: 0 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4341, allocations: 4 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.4341, allocations: 0 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4341, allocations: 4.062 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.4342, allocations: 15.78 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4342, allocations: 8 kB / 1.289 GB, free: 6.039 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.0001695/0.4344, allocations: 205 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.4345, allocations: 112.9 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.224e-05/0.4346, allocations: 121.4 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/0.4347, allocations: 186.1 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/0.4348, allocations: 180.2 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.231e-05/0.4349, allocations: 180.3 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.4352, allocations: 416.1 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.725e-05/0.4353, allocations: 105 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.4353, allocations: 101 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.4354, allocations: 184.2 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.4355, allocations: 180.3 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001042/0.4356, allocations: 184.2 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.359e-05/0.4357, allocations: 180.2 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.4359, allocations: 319.7 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.436, allocations: 112.9 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.4361, allocations: 184.2 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4362, allocations: 105.3 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.4363, allocations: 180.2 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.4364, allocations: 109 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001473/0.4365, allocations: 160.6 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4365, allocations: 0 / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002711/0.4368, allocations: 16 kB / 1.292 GB, free: 2.395 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.0006036/0.4374, allocations: 0.832 MB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.4376, allocations: 63.91 kB / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4376, allocations: 0 / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.4376, allocations: 0 / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.4381, allocations: 465.5 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.4407, allocations: 2.128 MB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.4412, allocations: 0.7119 MB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.4412, allocations: 7.984 kB / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.4413, allocations: 31.42 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.4413, allocations: 0 / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.4774, allocations: 2.866 MB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.1, allocations: 11.61 kB / 1.299 GB, free: 11.3 MB / 0.9981 GB " [Timeout remaining time 287] (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.620948046911508]