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.001755/0.001755, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002167/0.002167, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.897/2.897, allocations: 476.7 MB / 0.7715 GB, free: 4.281 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="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.002079/0.002079, allocations: 64 kB / 1.118 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4285, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003689/0.4322, allocations: 1.241 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.4326, allocations: 55.75 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.4326, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.4327, allocations: 3.984 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.4329, allocations: 8 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.4331, allocations: 11.92 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.4332, allocations: 19.92 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.4332, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.4333, allocations: 15.92 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.4333, allocations: 4.75 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.4334, allocations: 4 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.846e-05/0.4335, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.4336, allocations: 52.42 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.4336, allocations: 39.69 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.4338, allocations: 83.03 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4338, allocations: 4 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4338, allocations: 0 / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.4338, allocations: 0 / 1.286 GB, free: 10.04 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.0005356/0.4344, allocations: 353.6 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.4344, allocations: 8.031 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.221e-05/0.4345, allocations: 75.47 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.13e-05/0.4345, allocations: 110 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.355e-05/0.4346, allocations: 92.12 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.4348, allocations: 217.3 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.212e-05/0.4349, allocations: 154.5 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.435, allocations: 154.6 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.864e-05/0.4351, allocations: 109.1 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.4352, allocations: 75.28 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.547e-05/0.4352, allocations: 154.6 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/0.4353, allocations: 150.6 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.4354, allocations: 150.6 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.4358, allocations: 476.7 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.4359, allocations: 173.1 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.4359, allocations: 84.14 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.436, allocations: 75.28 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/0.4361, allocations: 109.8 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.4361, allocations: 0 / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001044/0.4362, allocations: 45.53 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.4362, allocations: 130.7 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.4365, allocations: 223.1 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4366, allocations: 25.7 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.4366, allocations: 112.1 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.4367, allocations: 3.984 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.4367, allocations: 33.7 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4369, allocations: 334.8 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.437, allocations: 55.95 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.4371, allocations: 59.91 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.4373, allocations: 140 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4373, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000402/0.4377, allocations: 181.4 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.4377, allocations: 4 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4377, allocations: 0 / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4377, allocations: 4 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.4377, allocations: 0 / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4377, allocations: 0 / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.4378, allocations: 23.77 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.4378, allocations: 8.062 kB / 1.29 GB, free: 5.82 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.0001614/0.438, allocations: 206.4 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.4381, allocations: 116.9 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.99e-05/0.4382, allocations: 113.4 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.792e-05/0.4383, allocations: 178.1 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001043/0.4384, allocations: 192.2 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.681e-05/0.4384, allocations: 180.3 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.4388, allocations: 404.2 kB / 1.291 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.973e-05/0.4388, allocations: 108.9 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.4389, allocations: 105 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-05/0.439, allocations: 180.2 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.856e-05/0.4391, allocations: 184.3 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.654e-05/0.4392, allocations: 184.3 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.054e-05/0.4393, allocations: 180.2 kB / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.4394, allocations: 315.6 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.4395, allocations: 124.9 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4396, allocations: 176.3 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.4398, allocations: 105.2 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4399, allocations: 184.2 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.4399, allocations: 109 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001715/0.4401, allocations: 152.7 kB / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4401, allocations: 0 / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002974/0.4404, allocations: 20 kB / 1.293 GB, free: 2.18 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.0006266/0.441, allocations: 0.8281 MB / 1.294 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.4412, allocations: 63.89 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4412, allocations: 4 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.4412, allocations: 4 kB / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.4417, allocations: 457.4 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.4443, allocations: 2.13 MB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.4447, allocations: 0.7157 MB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.4447, allocations: 7.984 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.4448, allocations: 35.42 kB / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of SimCode: time 1.863e-06/0.4448, allocations: 0 / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.4727, allocations: 2.896 MB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.42, allocations: 12.86 kB / 1.3 GB, free: 11.06 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.7256140789832]