Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0009882/0.0009882, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.001004/0.001004, allocations: 213.2 kB / 23 MB, free: 2.98 MB / 13.93 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.012/1.012, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.454/2.454, allocations: 0.5569 GB / 0.8628 GB, free: 29.34 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009862/0.0009862, allocations: 72.31 kB / 1.255 GB, free: 22.29 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3856, allocations: 193.6 MB / 1.444 GB, free: 9.109 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.001992/0.3876, allocations: 1.455 MB / 1.446 GB, free: 7.641 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0005795/0.3882, allocations: 431 kB / 1.446 GB, free: 7.215 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.3882, allocations: 0 / 1.446 GB, free: 7.215 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.3883, allocations: 7.922 kB / 1.446 GB, free: 7.207 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.3883, allocations: 7.938 kB / 1.446 GB, free: 7.199 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.3885, allocations: 19.92 kB / 1.446 GB, free: 7.18 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.3886, allocations: 31.8 kB / 1.446 GB, free: 7.148 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.3887, allocations: 4 kB / 1.446 GB, free: 7.145 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3889, allocations: 19.97 kB / 1.446 GB, free: 7.125 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.3889, allocations: 11.94 kB / 1.446 GB, free: 7.113 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3889, allocations: 0 / 1.446 GB, free: 7.113 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.389, allocations: 8 kB / 1.446 GB, free: 7.105 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.389, allocations: 11.92 kB / 1.446 GB, free: 7.094 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.389, allocations: 7.938 kB / 1.446 GB, free: 7.086 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3891, allocations: 27.89 kB / 1.446 GB, free: 7.059 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3891, allocations: 3.938 kB / 1.446 GB, free: 7.055 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3891, allocations: 4 kB / 1.446 GB, free: 7.051 MB / 1.12 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3891, allocations: 0 / 1.446 GB, free: 7.051 MB / 1.12 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.0003512/0.3895, allocations: 262.2 kB / 1.447 GB, free: 6.766 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3895, allocations: 12.02 kB / 1.447 GB, free: 6.754 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.3896, allocations: 16.88 kB / 1.447 GB, free: 6.738 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3898, allocations: 118.5 kB / 1.447 GB, free: 6.598 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3898, allocations: 384 / 1.447 GB, free: 6.598 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.3898, allocations: 4.375 kB / 1.447 GB, free: 6.594 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3899, allocations: 46 kB / 1.447 GB, free: 6.543 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3899, allocations: 0 / 1.447 GB, free: 6.543 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3899, allocations: 0 / 1.447 GB, free: 6.543 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3899, allocations: 0 / 1.447 GB, free: 6.543 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.39, allocations: 15.98 kB / 1.447 GB, free: 6.527 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.3902, allocations: 204.6 kB / 1.447 GB, free: 6.297 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.3903, allocations: 34.48 kB / 1.447 GB, free: 6.254 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.3903, allocations: 16.92 kB / 1.447 GB, free: 6.234 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3904, allocations: 0 / 1.447 GB, free: 6.234 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.3904, allocations: 34.56 kB / 1.447 GB, free: 6.191 MB / 1.12 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3904, allocations: 0 / 1.447 GB, free: 6.191 MB / 1.12 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.3906, allocations: 65.73 kB / 1.447 GB, free: 6.121 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3906, allocations: 55.41 kB / 1.447 GB, free: 6.055 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/0.3906, allocations: 109.8 kB / 1.447 GB, free: 5.938 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.3907, allocations: 25.7 kB / 1.447 GB, free: 5.906 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.3907, allocations: 92.95 kB / 1.447 GB, free: 5.812 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3907, allocations: 3.953 kB / 1.447 GB, free: 5.809 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.3907, allocations: 17.7 kB / 1.448 GB, free: 5.785 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.3908, allocations: 314.8 kB / 1.448 GB, free: 5.469 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.3909, allocations: 4 kB / 1.448 GB, free: 5.465 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.3909, allocations: 11.98 kB / 1.448 GB, free: 5.453 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.788e-05/0.3909, allocations: 28.91 kB / 1.448 GB, free: 5.422 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3909, allocations: 0 / 1.448 GB, free: 5.422 MB / 1.12 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.464e-05/0.391, allocations: 57.56 kB / 1.448 GB, free: 5.359 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.391, allocations: 7.938 kB / 1.448 GB, free: 5.352 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.391, allocations: 0 / 1.448 GB, free: 5.352 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.391, allocations: 3.938 kB / 1.448 GB, free: 5.348 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.3911, allocations: 15.98 kB / 1.448 GB, free: 5.332 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3911, allocations: 0 / 1.448 GB, free: 5.332 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.3911, allocations: 8.031 kB / 1.448 GB, free: 5.324 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.3911, allocations: 0 / 1.448 GB, free: 5.324 MB / 1.12 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 5.983e-05/0.3912, allocations: 121.7 kB / 1.448 GB, free: 5.195 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.3912, allocations: 0 / 1.448 GB, free: 5.195 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.3912, allocations: 11.61 kB / 1.448 GB, free: 5.18 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3912, allocations: 0 / 1.448 GB, free: 5.18 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3912, allocations: 0 / 1.448 GB, free: 5.18 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3912, allocations: 4 kB / 1.448 GB, free: 5.176 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.808e-05/0.3913, allocations: 105.3 kB / 1.448 GB, free: 5.043 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3913, allocations: 3.938 kB / 1.448 GB, free: 5.039 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.3913, allocations: 7.984 kB / 1.448 GB, free: 5.031 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.3913, allocations: 4 kB / 1.448 GB, free: 5.027 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3914, allocations: 0 / 1.448 GB, free: 5.027 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.3914, allocations: 0 / 1.448 GB, free: 5.027 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.3914, allocations: 4 kB / 1.448 GB, free: 5.023 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.3915, allocations: 147.5 kB / 1.448 GB, free: 4.863 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.3915, allocations: 3.938 kB / 1.448 GB, free: 4.859 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.3915, allocations: 4 kB / 1.448 GB, free: 4.855 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.3915, allocations: 0 / 1.448 GB, free: 4.855 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.3916, allocations: 4 kB / 1.448 GB, free: 4.852 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.3916, allocations: 4.031 kB / 1.448 GB, free: 4.848 MB / 1.12 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.3916, allocations: 95.25 kB / 1.448 GB, free: 4.754 MB / 1.12 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3916, allocations: 0 / 1.448 GB, free: 4.754 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0001511/0.3918, allocations: 4 kB / 1.448 GB, free: 4.75 MB / 1.12 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 8.046e-05/0.3918, allocations: 99.25 kB / 1.449 GB, free: 4.645 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 9.263e-05/0.3919, allocations: 19.92 kB / 1.449 GB, free: 4.625 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3919, allocations: 0 / 1.449 GB, free: 4.625 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.3919, allocations: 20.05 kB / 1.449 GB, free: 4.605 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.3921, allocations: 4.688 kB / 1.449 GB, free: 4.602 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.3924, allocations: 152.4 kB / 1.449 GB, free: 4.422 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.274e-05/0.3924, allocations: 59.34 kB / 1.449 GB, free: 4.344 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.3924, allocations: 15.44 kB / 1.449 GB, free: 4.328 MB / 1.12 GB Notification: Performance of SimCode: time 5.01e-07/0.3924, allocations: 0 / 1.449 GB, free: 4.328 MB / 1.12 GB Notification: Performance of Templates: time 0.001456/0.3939, allocations: 0.5649 MB / 1.449 GB, free: 3.77 MB / 1.12 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU -emit_protected > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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: 8.735824133007554]