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.001479/0.001479, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001711/0.001711, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.781 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.881/2.881, allocations: 476 MB / 0.7699 GB, free: 4.754 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.002165/0.002165, allocations: 69.88 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4215, allocations: 170 MB / 1.283 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002925/0.4244, allocations: 1.232 MB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.4247, allocations: 43.86 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.4248, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.4248, allocations: 3.938 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.4249, allocations: 7.984 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.4251, allocations: 15.92 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.713e-05/0.4252, allocations: 11.98 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.4253, allocations: 4 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/0.4253, allocations: 7.938 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.4254, allocations: 20.66 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.4254, allocations: 0 / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.4255, allocations: 12 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.4257, allocations: 48.44 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.4257, allocations: 31.75 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.4259, allocations: 72.84 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4259, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4259, allocations: 4 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4259, allocations: 0 / 1.284 GB, free: 11.02 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.0005257/0.4264, allocations: 361.5 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4265, allocations: 8.031 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.397e-05/0.4265, allocations: 110 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.405e-05/0.4266, allocations: 84.17 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.4268, allocations: 217.5 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.4269, allocations: 154.5 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.427, allocations: 150.6 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/0.4271, allocations: 113 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.4271, allocations: 83.28 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.4272, allocations: 154.6 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.173e-05/0.4273, allocations: 150.6 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.4274, allocations: 150.6 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.4278, allocations: 468.9 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.4279, allocations: 177.1 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.4279, allocations: 80.14 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.428, allocations: 75.28 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/0.4281, allocations: 109.8 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.4281, allocations: 0 / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.006e-05/0.4281, allocations: 37.61 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.4282, allocations: 134.7 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.4285, allocations: 227 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4285, allocations: 25.7 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.4286, allocations: 120 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.4286, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.4287, allocations: 41.69 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4289, allocations: 330.8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.429, allocations: 55.95 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.429, allocations: 51.97 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.4292, allocations: 139.8 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4292, allocations: 4.031 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003381/0.4296, allocations: 173.5 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4296, allocations: 8 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4296, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4296, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.4296, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4296, allocations: 3.938 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.4297, allocations: 23.72 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.4297, allocations: 7.984 kB / 1.288 GB, free: 6.871 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.00017/0.4299, allocations: 201 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.4299, allocations: 113 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.43, allocations: 117.5 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/0.4301, allocations: 186 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.815e-05/0.4302, allocations: 176.3 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-05/0.4303, allocations: 180.2 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.4307, allocations: 412.2 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-05/0.4307, allocations: 109 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.4308, allocations: 108.9 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.866e-05/0.4309, allocations: 176.3 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.431, allocations: 192.2 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.621e-05/0.4311, allocations: 176.3 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.802e-05/0.4312, allocations: 184.2 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.4314, allocations: 315.7 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.4315, allocations: 120.8 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.4316, allocations: 180.3 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.4317, allocations: 109.2 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.4318, allocations: 184.3 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.4319, allocations: 101 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001551/0.4321, allocations: 156.6 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4321, allocations: 0 / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002601/0.4323, allocations: 16 kB / 1.291 GB, free: 3.234 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.0005943/0.4329, allocations: 0.832 MB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.4331, allocations: 59.95 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4331, allocations: 0 / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.4331, allocations: 4 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.4335, allocations: 463.6 kB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.4359, allocations: 2.135 MB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.436, allocations: 100.6 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.436, allocations: 7.984 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.4361, allocations: 31.42 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.4361, allocations: 3.938 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.469, allocations: 3.284 MB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.91, allocations: 2.297 kB / 1.298 GB, free: 12.33 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.133421714883298]