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.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.001759/0.001759, allocations: 110.2 kB / 18.94 MB, free: 2.785 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.00216/0.00216, allocations: 189.8 kB / 22.23 MB, free: 5.242 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.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.324/3.324, allocations: 496 MB / 0.7835 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 68.39 kB / 1.138 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.0029/0.3272, allocations: 1.456 MB / 1.309 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.3279, allocations: 407 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.3279, allocations: 0 / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.328, allocations: 0 / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.328, allocations: 7.938 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.3282, allocations: 11.98 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.3282, allocations: 23.92 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.3283, allocations: 4 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.3284, allocations: 23.91 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.3285, allocations: 3.938 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3285, allocations: 4 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.3285, allocations: 0 / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.3285, allocations: 11.92 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.3285, allocations: 7.938 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.762e-05/0.3286, allocations: 23.91 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3286, allocations: 4 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3286, allocations: 7.938 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3286, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 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.0004272/0.3291, allocations: 258.4 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3291, allocations: 8.031 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3291, allocations: 0.9375 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.3292, allocations: 114.4 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.3293, allocations: 384 / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.3293, allocations: 4.375 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3294, allocations: 53.92 kB / 1.31 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3294, allocations: 4 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3294, allocations: 3.938 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3294, allocations: 0 / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3295, allocations: 19.98 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.3299, allocations: 220 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.33, allocations: 38.5 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.33, allocations: 16.92 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3301, allocations: 0 / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3301, allocations: 30.56 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3301, allocations: 0 / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002335/0.3303, allocations: 57.67 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3304, allocations: 55.53 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.3305, allocations: 105.8 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3305, allocations: 25.7 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.3305, allocations: 88.14 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.3305, allocations: 3.953 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.3306, allocations: 25.64 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3307, allocations: 310.8 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.3308, allocations: 4 kB / 1.311 GB, free: 14.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.3308, allocations: 19.98 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.3309, allocations: 25.03 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3309, allocations: 4 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001316/0.331, allocations: 53.64 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.331, allocations: 8 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.331, allocations: 0 / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3311, allocations: 96 / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.3311, allocations: 11.98 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3311, allocations: 7.875 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.3312, allocations: 4 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3312, allocations: 0 / 1.311 GB, free: 14.08 MB / 1.014 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.335e-05/0.3313, allocations: 113.7 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3313, allocations: 4 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.3313, allocations: 7.625 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.3313, allocations: 3.984 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3313, allocations: 4 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.3313, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.3315, allocations: 132.7 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3315, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.3315, allocations: 4 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3316, allocations: 7.969 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3316, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3316, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3316, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3318, allocations: 159.4 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.3318, allocations: 7.953 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3318, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.3318, allocations: 3.984 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.3319, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.3319, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.3319, allocations: 87.27 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3319, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002168/0.3321, allocations: 8.031 kB / 1.311 GB, free: 13.47 MB / 1.014 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.0001204/0.3323, allocations: 96.05 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.3324, allocations: 19.98 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3324, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.56e-05/0.3325, allocations: 11.98 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.3327, allocations: 17.69 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.333, allocations: 115 kB / 1.311 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3333, allocations: 0.6807 MB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.3334, allocations: 0 / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.3334, allocations: 7.438 kB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3334, allocations: 0 / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of Templates: time 0.002642/0.336, allocations: 328.7 kB / 1.312 GB, free: 12.15 MB / 1.014 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 -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/jenkins/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.967678752727807]