Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.001382/0.001382, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001473/0.001473, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.488/1.488, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.013/3.013, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.001992/0.001992, allocations: 67.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8859/0.8879, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002343/0.8902, allocations: 1.45 MB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006628/0.8909, allocations: 474.1 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.8909, allocations: 3.938 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.8909, allocations: 0 / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.891, allocations: 11.2 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.8912, allocations: 20.5 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.8913, allocations: 26.23 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.8914, allocations: 13.62 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.8915, allocations: 12.77 kB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.8915, allocations: 14.17 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.8915, allocations: 0 / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.874e-05/0.8916, allocations: 5.531 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.8916, allocations: 11.31 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.8916, allocations: 10.69 kB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.8917, allocations: 40.58 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8917, allocations: 0 / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8917, allocations: 0 / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.8917, allocations: 0 / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003317/0.8921, allocations: 340.1 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.8921, allocations: 12.2 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.123e-05/0.8921, allocations: 192 / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.902e-05/0.8921, allocations: 33.34 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.8923, allocations: 15.81 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.8924, allocations: 182.2 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.8924, allocations: 384 / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.8924, allocations: 7.094 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.8925, allocations: 45.78 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.8926, allocations: 2.75 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.8926, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8926, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.8926, allocations: 22.83 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.8929, allocations: 247.3 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.8929, allocations: 34.42 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.893, allocations: 13.64 kB / 1.324 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.893, allocations: 3.422 kB / 1.324 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.893, allocations: 38.5 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.893, allocations: 0 / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000211/0.8932, allocations: 59.95 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.8932, allocations: 51.41 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.893e-05/0.8933, allocations: 106.3 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.8933, allocations: 25.7 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.8933, allocations: 86.83 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.8933, allocations: 3.953 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.8934, allocations: 23.73 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.8934, allocations: 317.7 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.8934, allocations: 10.09 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.8935, allocations: 12.06 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/0.8935, allocations: 27.53 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8935, allocations: 0 / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.838e-05/0.8936, allocations: 55.94 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.8936, allocations: 5.156 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.8937, allocations: 4.406 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.8937, allocations: 0 / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.636e-05/0.8937, allocations: 8.484 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.8937, allocations: 0 / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.8938, allocations: 2.656 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.8938, allocations: 3.984 kB / 1.325 GB, free: 21.54 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 4.268e-05/0.8938, allocations: 114.7 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.8938, allocations: 4 kB / 1.325 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.8939, allocations: 13.38 kB / 1.325 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8939, allocations: 7.938 kB / 1.325 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8939, allocations: 4 kB / 1.325 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.8939, allocations: 0 / 1.325 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.894, allocations: 161.5 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.894, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.894, allocations: 9.125 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.894, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.894, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.894, allocations: 3.469 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.894, allocations: 2.969 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.8941, allocations: 152.7 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.8941, allocations: 79.61 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.8942, allocations: 3.281 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.8942, allocations: 2.438 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.8942, allocations: 0 / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.8942, allocations: 2.656 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.475e-05/0.8943, allocations: 91.56 kB / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8943, allocations: 3.938 kB / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000216/0.8945, allocations: 6.656 kB / 1.326 GB, free: 20.86 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0002477/0.8947, allocations: 0.6847 MB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.8949, allocations: 25.83 kB / 1.327 GB, free: 20.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8949, allocations: 0 / 1.327 GB, free: 20.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.8949, allocations: 12.34 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.8951, allocations: 4 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/0.8959, allocations: 1.227 MB / 1.328 GB, free: 19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.896, allocations: 0.6814 MB / 1.328 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.896, allocations: 0 / 1.328 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.8961, allocations: 7.438 kB / 1.328 GB, free: 18.29 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.8961, allocations: 2.562 kB / 1.328 GB, free: 18.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.9129, allocations: 1.284 MB / 1.33 GB, free: 17.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/9.211, allocations: 8.359 kB / 1.33 GB, free: 17.93 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.651390323007945]