Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 192 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.91 kB / 1.109 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7168, allocations: 168.7 MB / 1.274 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002741/0.7195, allocations: 1.441 MB / 1.275 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.7204, allocations: 411.1 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.7205, allocations: 0 / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.7205, allocations: 3.938 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.393e-05/0.7205, allocations: 7.922 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.7207, allocations: 11.98 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.7208, allocations: 19.92 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.7209, allocations: 8 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.58e-05/0.7209, allocations: 11.92 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.721, allocations: 15.94 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.721, allocations: 0 / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.721, allocations: 4 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.7211, allocations: 11.91 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.7211, allocations: 11.94 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.958e-05/0.7212, allocations: 18.64 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7212, allocations: 0 / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7212, allocations: 3.938 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7212, allocations: 0 / 1.276 GB, free: 2.621 MB / 0.9669 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.0004952/0.7217, allocations: 339.4 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.7217, allocations: 16.03 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.7217, allocations: 0.9375 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.7219, allocations: 164.3 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.7219, allocations: 8.359 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.722, allocations: 384 / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.7221, allocations: 46 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7221, allocations: 3.938 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.7221, allocations: 0 / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.7221, allocations: 0 / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/0.7222, allocations: 23.98 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.7225, allocations: 244.9 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.7226, allocations: 32.17 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.7227, allocations: 20.91 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.7227, allocations: 0 / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.7227, allocations: 38.5 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.7227, allocations: 4 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002395/0.723, allocations: 57.69 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.723, allocations: 51.41 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.7231, allocations: 105.8 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.7231, allocations: 25.7 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.7232, allocations: 88.2 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.7232, allocations: 11.94 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.7232, allocations: 13.72 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7233, allocations: 310.8 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.7234, allocations: 11.98 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.7234, allocations: 11.94 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.133e-05/0.7235, allocations: 28.84 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7235, allocations: 4 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001641/0.7237, allocations: 53.64 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.7237, allocations: 4 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.7237, allocations: 0 / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.7237, allocations: 3.984 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.7238, allocations: 8.234 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.7238, allocations: 3.938 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.7238, allocations: 8 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.7239, allocations: 32 / 1.278 GB, free: 0.6914 MB / 0.9669 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 8.508e-05/0.7239, allocations: 125.7 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.724, allocations: 7.922 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.724, allocations: 3.531 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.724, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.724, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.724, allocations: 4 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.7242, allocations: 161.6 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7242, allocations: 0 / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.7242, allocations: 7.984 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7242, allocations: 4 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.7242, allocations: 4 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7242, allocations: 0 / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7242, allocations: 0 / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.7244, allocations: 147.5 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.7245, allocations: 85.05 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.7245, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.7245, allocations: 4.031 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.7246, allocations: 4 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.7246, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.107e-05/0.7246, allocations: 91.2 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7246, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002198/0.7249, allocations: 4 kB / 1.278 GB, free: 15.96 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 (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.0001107/0.725, allocations: 95.78 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.7251, allocations: 27.98 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7251, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.7252, allocations: 15.98 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.7254, allocations: 7.875 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.7257, allocations: 126.5 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.7261, allocations: 0.6807 MB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.7261, allocations: 4.125 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.7261, allocations: 7.438 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.7261, allocations: 0 / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.002531/0.7286, allocations: 320.5 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.51792528340593]