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.001453/0.001453, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00174/0.00174, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.611/1.611, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.973/2.973, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_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.002113/0.002113, allocations: 71.89 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478/1.48, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003263/1.483, allocations: 1.24 MB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003481/1.484, allocations: 59.34 kB / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/1.484, allocations: 0 / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/1.484, allocations: 0.75 kB / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/1.484, allocations: 8.375 kB / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/1.484, allocations: 9.672 kB / 1.28 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/1.484, allocations: 18.56 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/1.484, allocations: 5.969 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/1.484, allocations: 5.281 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/1.484, allocations: 12.75 kB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/1.484, allocations: 4 kB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/1.484, allocations: 9.125 kB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/1.484, allocations: 47.84 kB / 1.28 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/1.485, allocations: 40.02 kB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/1.485, allocations: 75.19 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.485, allocations: 0.7031 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.485, allocations: 0 / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.485, allocations: 0.9688 kB / 1.28 GB, free: 10.72 MB / 0.9981 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.0006505/1.485, allocations: 437.4 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.485, allocations: 10.33 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.772e-05/1.485, allocations: 75.47 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.789e-05/1.486, allocations: 110.7 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.799e-05/1.486, allocations: 84.36 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/1.486, allocations: 278.5 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/1.486, allocations: 155.7 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/1.486, allocations: 152.2 kB / 1.282 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/1.486, allocations: 101 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/1.486, allocations: 77 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/1.486, allocations: 150.6 kB / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.789e-05/1.486, allocations: 151.7 kB / 1.282 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.087e-05/1.486, allocations: 159.4 kB / 1.282 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/1.487, allocations: 0.4897 MB / 1.283 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/1.487, allocations: 170.2 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/1.487, allocations: 84.84 kB / 1.283 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/1.487, allocations: 80.34 kB / 1.283 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.822e-05/1.487, allocations: 107.7 kB / 1.283 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/1.487, allocations: 0 / 1.283 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001088/1.487, allocations: 46.05 kB / 1.283 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.487, allocations: 127.7 kB / 1.283 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/1.488, allocations: 229.8 kB / 1.284 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/1.488, allocations: 25.7 kB / 1.284 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/1.488, allocations: 110.7 kB / 1.284 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/1.488, allocations: 0 / 1.284 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/1.488, allocations: 41.97 kB / 1.284 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.488, allocations: 328.8 kB / 1.284 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/1.488, allocations: 54.19 kB / 1.284 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/1.488, allocations: 57.47 kB / 1.284 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/1.489, allocations: 133.9 kB / 1.284 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.489, allocations: 0 / 1.284 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000548/1.489, allocations: 184.9 kB / 1.284 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.489, allocations: 9.594 kB / 1.284 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.489, allocations: 0.7969 kB / 1.284 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.489, allocations: 0 / 1.284 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-06/1.489, allocations: 5.125 kB / 1.284 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.489, allocations: 3.938 kB / 1.284 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/1.489, allocations: 19.8 kB / 1.284 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/1.489, allocations: 5.672 kB / 1.284 GB, free: 6.91 MB / 0.9981 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.0001844/1.49, allocations: 204 kB / 1.285 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/1.49, allocations: 121.7 kB / 1.285 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/1.49, allocations: 111.5 kB / 1.285 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.807e-05/1.49, allocations: 181.9 kB / 1.285 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.316e-05/1.49, allocations: 182 kB / 1.285 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.127e-05/1.49, allocations: 178.1 kB / 1.285 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/1.49, allocations: 447 kB / 1.286 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.744e-05/1.491, allocations: 101.6 kB / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/1.491, allocations: 103.7 kB / 1.286 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/1.491, allocations: 181.4 kB / 1.286 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.572e-05/1.491, allocations: 177.9 kB / 1.286 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-05/1.491, allocations: 186.5 kB / 1.287 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001011/1.491, allocations: 182.5 kB / 1.287 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/1.491, allocations: 315.4 kB / 1.287 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/1.491, allocations: 198.9 kB / 1.287 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.491, allocations: 182.5 kB / 1.287 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.492, allocations: 107.4 kB / 1.288 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/1.492, allocations: 178.6 kB / 1.288 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/1.492, allocations: 107.1 kB / 1.288 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001923/1.492, allocations: 157.5 kB / 1.288 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.492, allocations: 0 / 1.288 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002982/1.492, allocations: 21.72 kB / 1.288 GB, free: 3.309 MB / 0.9981 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.0006518/1.493, allocations: 0.8303 MB / 1.289 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001912/1.493, allocations: 64.17 kB / 1.289 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.493, allocations: 0 / 1.289 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/1.493, allocations: 0 / 1.289 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/1.494, allocations: 467.2 kB / 1.289 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/1.497, allocations: 2.134 MB / 1.291 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/1.497, allocations: 0.713 MB / 1.292 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.704e-05/1.497, allocations: 9.297 kB / 1.292 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/1.497, allocations: 38.27 kB / 1.292 GB, free: 15.77 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.497, allocations: 0 / 1.292 GB, free: 15.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/1.522, allocations: 2.826 MB / 1.295 GB, free: 15.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.14/10.66, allocations: 3.562 kB / 1.295 GB, free: 15.26 MB / 1.014 GB " [Timeout remaining time 289] (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: 17.656305986980442]