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.001971/0.001971, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.001991/0.001991, allocations: 169.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.368/3.368, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 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.623e-06/1.623e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.928e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.003769/0.003799, allocations: 1.476 MB / 0.8789 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004924, allocations: 443.7 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.004979, allocations: 0.9688 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.005003, allocations: 0 / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.005071, allocations: 21.44 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.005289, allocations: 15.98 kB / 0.8794 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.005399, allocations: 27.8 kB / 0.8794 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.00548, allocations: 8 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.005636, allocations: 21.84 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.005696, allocations: 7.984 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.005715, allocations: 4 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-05/0.00576, allocations: 7.938 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.005774, allocations: 4 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.005798, allocations: 6.656 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.005933, allocations: 39.81 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005935, allocations: 0 / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005936, allocations: 0 / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.00594, allocations: 0 / 0.8795 GB, free: 4.594 MB / 0.8386 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.0005748/0.006515, allocations: 360.2 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.006558, allocations: 8.031 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.006756, allocations: 17.59 kB / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.00698, allocations: 126.2 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.006992, allocations: 384 / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.007, allocations: 384 / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.007158, allocations: 46.23 kB / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.007167, allocations: 1.531 kB / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.007177, allocations: 384 / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.007186, allocations: 3.938 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.007287, allocations: 15.98 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.007737, allocations: 255.8 kB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.007854, allocations: 39 kB / 0.8803 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.836e-05/0.007923, allocations: 15.75 kB / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.007941, allocations: 0 / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.858e-05/0.00801, allocations: 45.31 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.008011, allocations: 0 / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003036/0.008314, allocations: 57.62 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.00837, allocations: 55.53 kB / 0.8805 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.008569, allocations: 177.9 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.008595, allocations: 25.7 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.00871, allocations: 130.8 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.008734, allocations: 7.953 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.00879, allocations: 19.38 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003483/0.009139, allocations: 0.4923 MB / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.009183, allocations: 4 kB / 0.8813 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.009217, allocations: 4 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.009326, allocations: 31.73 kB / 0.8814 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.009328, allocations: 4 kB / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.009508, allocations: 53.58 kB / 0.8814 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.009527, allocations: 11.88 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.009536, allocations: 4 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.00955, allocations: 0 / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.009627, allocations: 4 kB / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.009632, allocations: 0 / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.009667, allocations: 0 / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.009684, allocations: 7.984 kB / 0.8814 GB, free: 2.398 MB / 0.8386 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 0.0001474/0.009831, allocations: 160.6 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.009876, allocations: 3.938 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.009905, allocations: 11.62 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.009907, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.00991, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009913, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.01015, allocations: 120.6 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01015, allocations: 0 / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.0102, allocations: 4 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.0102, allocations: 0 / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.01021, allocations: 7.938 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01022, allocations: 0 / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.01022, allocations: 3.984 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.0105, allocations: 199.8 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.01052, allocations: 4 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01054, allocations: 7.938 kB / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.01063, allocations: 0 / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.01066, allocations: 0 / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01067, allocations: 4 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000106/0.01078, allocations: 131.2 kB / 0.8821 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01078, allocations: 4.031 kB / 0.8821 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003979/0.01118, allocations: 4 kB / 0.8821 GB, free: 1.684 MB / 0.8386 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.0001612/0.01134, allocations: 95.25 kB / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.01151, allocations: 31.61 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01151, allocations: 0 / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/0.01157, allocations: 15.69 kB / 0.8822 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.01193, allocations: 9.297 kB / 0.8822 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.0124, allocations: 130.5 kB / 0.8823 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.01249, allocations: 67.2 kB / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.01252, allocations: 3.938 kB / 0.8824 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.01256, allocations: 8.5 kB / 0.8824 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/0.01256, allocations: 0 / 0.8824 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of Templates: time 0.003701/0.01626, allocations: 349 kB / 0.8827 GB, free: 0.957 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] 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: 8.330359549028799]