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.001448/0.001448, allocations: 85.36 kB / 19.43 MB, free: 1.84 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.0016/0.0016, allocations: 166.9 kB / 22.75 MB, free: 4.395 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.397/1.397, allocations: 177.1 MB / 203.1 MB, free: 8.121 MB / 190.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.146/3.146, allocations: 428.5 MB / 0.6719 GB, free: 9.703 MB / 0.6387 GB " [Timeout remaining time 176] 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 1.423e-06/1.423e-06, allocations: 3.938 kB / 0.8763 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.437e-05, allocations: 5.703 kB / 0.8763 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002606/0.00263, allocations: 1.468 MB / 0.8777 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008216/0.003452, allocations: 440.9 kB / 0.8781 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.003501, allocations: 1 kB / 0.8781 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.003526, allocations: 11.86 kB / 0.8781 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.252e-05/0.003569, allocations: 1.719 kB / 0.8781 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.003761, allocations: 31.84 kB / 0.8782 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.193e-05/0.003853, allocations: 23.86 kB / 0.8782 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.315e-05/0.003926, allocations: 8 kB / 0.8782 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.004047, allocations: 16.61 kB / 0.8782 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.004094, allocations: 15.91 kB / 0.8782 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.004107, allocations: 1.812 kB / 0.8782 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.804e-05/0.004145, allocations: 8 kB / 0.8782 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.004157, allocations: 4 kB / 0.8782 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.004176, allocations: 4 kB / 0.8782 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.004282, allocations: 40.89 kB / 0.8783 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004284, allocations: 4 kB / 0.8783 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004285, allocations: 0 / 0.8783 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.004288, allocations: 0 / 0.8783 GB, free: 9.055 MB / 0.7794 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.0004056/0.004694, allocations: 264.1 kB / 0.8785 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.004727, allocations: 8.031 kB / 0.8785 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.004885, allocations: 16.88 kB / 0.8786 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.005067, allocations: 119.3 kB / 0.8787 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.005076, allocations: 384 / 0.8787 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.005083, allocations: 384 / 0.8787 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.005213, allocations: 42.25 kB / 0.8787 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.005219, allocations: 1.219 kB / 0.8787 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.005227, allocations: 384 / 0.8787 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.005236, allocations: 7.922 kB / 0.8787 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.256e-05/0.005318, allocations: 20.89 kB / 0.8787 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.00561, allocations: 197.1 kB / 0.8789 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.005713, allocations: 31.64 kB / 0.879 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.005769, allocations: 16.91 kB / 0.879 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.005783, allocations: 4.969 kB / 0.879 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.00581, allocations: 34.5 kB / 0.879 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005811, allocations: 0.8125 kB / 0.879 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002374/0.006049, allocations: 66.58 kB / 0.8791 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.006101, allocations: 51.41 kB / 0.8791 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.006192, allocations: 110.4 kB / 0.8792 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.00621, allocations: 26.77 kB / 0.8793 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.006269, allocations: 84.14 kB / 0.8793 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.006287, allocations: 7.891 kB / 0.8793 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.006323, allocations: 14.5 kB / 0.8794 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.006474, allocations: 318.8 kB / 0.8797 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.006517, allocations: 8.5 kB / 0.8797 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.00655, allocations: 9.531 kB / 0.8797 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.047e-05/0.006631, allocations: 24.8 kB / 0.8797 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006632, allocations: 5.188 kB / 0.8797 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001308/0.006763, allocations: 53.67 kB / 0.8798 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.006782, allocations: 14.31 kB / 0.8798 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.006786, allocations: 0 / 0.8798 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.006796, allocations: 0 / 0.8798 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.006866, allocations: 9 kB / 0.8798 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.00687, allocations: 0 / 0.8798 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.587e-05/0.006905, allocations: 8.875 kB / 0.8798 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.006913, allocations: 4 kB / 0.8798 GB, free: 7.352 MB / 0.7794 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.603e-05/0.006989, allocations: 106.3 kB / 0.8799 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.007019, allocations: 7.938 kB / 0.8799 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.007039, allocations: 9.219 kB / 0.8799 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.00704, allocations: 0 / 0.8799 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.007043, allocations: 0 / 0.8799 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.007045, allocations: 0 / 0.8799 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.007189, allocations: 110 kB / 0.88 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.00719, allocations: 0 / 0.88 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.007241, allocations: 16.45 kB / 0.88 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007243, allocations: 0.6562 kB / 0.88 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.007251, allocations: 3.938 kB / 0.88 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007253, allocations: 1.438 kB / 0.88 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007253, allocations: 0 / 0.88 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.007439, allocations: 148.2 kB / 0.8802 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-06/0.007448, allocations: 3.953 kB / 0.8802 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.007461, allocations: 4.875 kB / 0.8802 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.007527, allocations: 7.984 kB / 0.8802 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.007556, allocations: 0.5 kB / 0.8802 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.007559, allocations: 0 / 0.8802 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.007618, allocations: 92.17 kB / 0.8803 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7e-08/0.007618, allocations: 0 / 0.8803 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002241/0.007842, allocations: 4.531 kB / 0.8803 GB, free: 6.797 MB / 0.7794 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.0001018/0.007944, allocations: 99.88 kB / 0.8804 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.008078, allocations: 21.2 kB / 0.8804 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008079, allocations: 0 / 0.8804 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.008129, allocations: 16.48 kB / 0.8804 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.00834, allocations: 0.5938 kB / 0.8804 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.008628, allocations: 125.4 kB / 0.8805 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.008697, allocations: 68.12 kB / 0.8806 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.008719, allocations: 0.6875 kB / 0.8806 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.008746, allocations: 12.5 kB / 0.8806 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.008747, allocations: 1.812 kB / 0.8806 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.002527/0.01127, allocations: 345.3 kB / 0.8809 GB, free: 6.129 MB / 0.7794 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 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > 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: 7.788545321673155]