Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002199/0.002199, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.0022/0.0022, allocations: 217.5 kB / 22.99 MB, free: 4.965 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.295/3.295, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [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.002133/0.002133, allocations: 71.11 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4064, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003017/0.4094, allocations: 1.469 MB / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.4102, allocations: 420.1 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.4103, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.4103, allocations: 3.938 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.4103, allocations: 7.922 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.4105, allocations: 23.97 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.4107, allocations: 35.8 kB / 1.367 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.4107, allocations: 8 kB / 1.367 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4109, allocations: 15.98 kB / 1.367 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.4109, allocations: 11.92 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4109, allocations: 0 / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/0.411, allocations: 8 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.411, allocations: 3.938 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.411, allocations: 11.98 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.4111, allocations: 35.77 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4111, allocations: 0 / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4111, allocations: 4 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4111, allocations: 0 / 1.367 GB, free: 11.57 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.0004203/0.4115, allocations: 266.2 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4116, allocations: 8.031 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.4117, allocations: 12.92 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4119, allocations: 118.4 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.412, allocations: 4.375 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.412, allocations: 384 / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.4121, allocations: 42 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4121, allocations: 4 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4121, allocations: 4 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4121, allocations: 4 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.586e-05/0.4122, allocations: 11.98 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.4125, allocations: 200.6 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/0.4126, allocations: 30.52 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.4126, allocations: 20.91 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.4126, allocations: 4 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4127, allocations: 30.56 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4127, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002372/0.4129, allocations: 69.56 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.413, allocations: 55.41 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4131, allocations: 105.8 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.4131, allocations: 25.7 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.4131, allocations: 80.14 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.4132, allocations: 15.89 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.4132, allocations: 9.844 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4134, allocations: 322.8 kB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.4134, allocations: 8 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.4134, allocations: 7.984 kB / 1.368 GB, free: 9.977 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.4135, allocations: 20.86 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4135, allocations: 0 / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.4136, allocations: 61.55 kB / 1.368 GB, free: 9.887 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4136, allocations: 8.094 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4136, allocations: 4 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4136, allocations: 0 / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.4137, allocations: 4 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.4137, allocations: 0 / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.4137, allocations: 3.984 kB / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.4138, allocations: 7.938 kB / 1.368 GB, free: 9.859 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 9.053e-05/0.4138, allocations: 118.8 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.4139, allocations: 7.953 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.4139, allocations: 3.625 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.4139, allocations: 4 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4139, allocations: 0 / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4139, allocations: 0 / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.414, allocations: 109.3 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.414, allocations: 3.938 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.4141, allocations: 11.98 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4141, allocations: 0 / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4141, allocations: 0 / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4141, allocations: 0 / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4141, allocations: 0 / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.4143, allocations: 155.5 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.4143, allocations: 3.938 kB / 1.369 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4143, allocations: 7.969 kB / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.98e-05/0.4144, allocations: 4 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.4144, allocations: 0 / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.4144, allocations: 0 / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.4145, allocations: 91.27 kB / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4145, allocations: 0 / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002101/0.4147, allocations: 4 kB / 1.369 GB, free: 9.281 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 9.878e-05/0.4148, allocations: 95.28 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.4149, allocations: 27.92 kB / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4149, allocations: 4 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.4149, allocations: 11.98 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.4151, allocations: 7.938 kB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.4155, allocations: 144.7 kB / 1.369 GB, free: 8.957 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.126e-05/0.4155, allocations: 63.34 kB / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.4156, allocations: 11.56 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4156, allocations: 0 / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of Templates: time 0.002032/0.4176, allocations: 0.5471 MB / 1.369 GB, free: 8.32 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.474449569825083]