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.001352/0.001352, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001645/0.001645, allocations: 214 kB / 22.99 MB, free: 4.957 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_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_12_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.002077/0.002077, allocations: 61.03 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002725/0.3251, allocations: 1.458 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.3259, allocations: 431 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.3259, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.3259, allocations: 3.938 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.326, allocations: 11.92 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.3262, allocations: 19.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.3262, allocations: 23.92 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.3263, allocations: 8 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3264, allocations: 27.91 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.398e-05/0.3265, allocations: 7.922 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.3265, allocations: 4 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.3265, allocations: 8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.3265, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.3266, allocations: 11.94 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3267, allocations: 35.83 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3267, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3267, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3267, allocations: 7.875 kB / 1.329 GB, free: 14.91 MB / 1.029 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.0004036/0.3271, allocations: 262.3 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3271, allocations: 12.03 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3273, allocations: 20.88 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.3275, allocations: 110.5 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-06/0.3275, allocations: 384 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3275, allocations: 384 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3276, allocations: 50 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3276, allocations: 0 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3276, allocations: 0 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3276, allocations: 3.984 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.3277, allocations: 19.92 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.328, allocations: 200.5 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.3281, allocations: 34.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.3282, allocations: 20.92 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.3282, allocations: 3.984 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3282, allocations: 34.55 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3282, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002568/0.3284, allocations: 61.62 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3285, allocations: 51.41 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.3286, allocations: 109.8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3286, allocations: 25.7 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.3287, allocations: 80.14 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3287, allocations: 16 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.3287, allocations: 17.72 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3289, allocations: 310.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.3289, allocations: 15.98 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.724e-05/0.329, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3291, allocations: 24.84 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3291, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001455/0.3292, allocations: 61.61 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3292, allocations: 8 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3292, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3293, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.3293, allocations: 7.984 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3293, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.3294, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.3294, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 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 7.856e-05/0.3295, allocations: 114.3 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3295, allocations: 3.984 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.3295, allocations: 11.62 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3295, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3295, allocations: 3.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3295, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.3297, allocations: 101.3 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3297, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.3298, allocations: 8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3298, allocations: 3.938 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3298, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3298, allocations: 3.938 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3298, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.3301, allocations: 147.5 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.3301, allocations: 11.89 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.3301, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3302, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.3302, allocations: 7.984 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3302, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.3303, allocations: 83.28 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3303, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003799/0.3307, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 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.0001349/0.3308, allocations: 103.3 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.331, allocations: 27.92 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.331, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.3311, allocations: 12 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3314, allocations: 3.938 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.3318, allocations: 115 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.3319, allocations: 71.38 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.332, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.332, allocations: 11.42 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.332, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of Templates: time 0.003359/0.3353, allocations: 351.8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] 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: 8.486806500004604]