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.001371/0.001371, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001181/0.001181, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9944/0.9944, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.067/2.067, allocations: 429.5 MB / 0.6743 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 177] 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.433e-06/1.433e-06, allocations: 0 / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.792e-05, allocations: 6.578 kB / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.003006/0.003034, allocations: 1.507 MB / 0.8809 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008298/0.003864, allocations: 452.7 kB / 0.8813 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.003929, allocations: 7.938 kB / 0.8813 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.003958, allocations: 5.078 kB / 0.8813 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.004016, allocations: 3.938 kB / 0.8813 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.004229, allocations: 15.98 kB / 0.8813 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.004336, allocations: 36.5 kB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.004421, allocations: 1.094 kB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.004585, allocations: 31.8 kB / 0.8814 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.004635, allocations: 7.984 kB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.00465, allocations: 0.625 kB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.004697, allocations: 8 kB / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.00471, allocations: 4.766 kB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.004728, allocations: 8 kB / 0.8814 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.004831, allocations: 27.34 kB / 0.8815 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.004834, allocations: 0 / 0.8815 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004835, allocations: 0 / 0.8815 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.004839, allocations: 0 / 0.8815 GB, free: 3.883 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.0003475/0.005187, allocations: 364.5 kB / 0.8818 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.005229, allocations: 8.031 kB / 0.8818 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.005369, allocations: 16.92 kB / 0.8818 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.00551, allocations: 116.5 kB / 0.8819 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.005522, allocations: 4.969 kB / 0.8819 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.005528, allocations: 1.531 kB / 0.8819 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.926e-05/0.005628, allocations: 50.89 kB / 0.882 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005636, allocations: 192 / 0.882 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.005645, allocations: 4.875 kB / 0.882 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.005653, allocations: 3.938 kB / 0.882 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.005678, allocations: 13.5 kB / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.005926, allocations: 228.4 kB / 0.8822 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.005982, allocations: 31 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.006003, allocations: 19.78 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.006016, allocations: 0 / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.006043, allocations: 37.39 kB / 0.8823 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.006044, allocations: 0 / 0.8823 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.006194, allocations: 45.58 kB / 0.8824 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.00623, allocations: 51.41 kB / 0.8824 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.006319, allocations: 165.9 kB / 0.8826 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.006332, allocations: 29.64 kB / 0.8826 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.006391, allocations: 134.9 kB / 0.8827 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.00641, allocations: 4.078 kB / 0.8827 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.006451, allocations: 27.36 kB / 0.8828 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.006593, allocations: 496.1 kB / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.006606, allocations: 0 / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.006619, allocations: 7.984 kB / 0.8832 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.006652, allocations: 11.69 kB / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006654, allocations: 0 / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.291e-05/0.006727, allocations: 37.66 kB / 0.8833 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.006741, allocations: 4 kB / 0.8833 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.006747, allocations: 3.938 kB / 0.8833 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.006757, allocations: 4.094 kB / 0.8833 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.006814, allocations: 11.92 kB / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.006818, allocations: 0 / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.006839, allocations: 4 kB / 0.8833 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006844, allocations: 0 / 0.8833 GB, free: 1.789 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 7.471e-05/0.006919, allocations: 156.6 kB / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.006945, allocations: 4 kB / 0.8835 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.006965, allocations: 7.562 kB / 0.8835 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.006967, allocations: 0 / 0.8835 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006969, allocations: 0 / 0.8835 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.006973, allocations: 7.984 kB / 0.8835 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.007099, allocations: 101.2 kB / 0.8836 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0071, allocations: 0 / 0.8836 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.00713, allocations: 4 kB / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.007132, allocations: 0 / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.007139, allocations: 7.984 kB / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00714, allocations: 0 / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.007143, allocations: 3.938 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.007273, allocations: 191.8 kB / 0.8838 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-06/0.007281, allocations: 3.984 kB / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.007289, allocations: 4.031 kB / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.007322, allocations: 7.938 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.007343, allocations: 3.938 kB / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.007345, allocations: 0 / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.007382, allocations: 127.2 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007382, allocations: 0 / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001346/0.007517, allocations: 8 kB / 0.8839 GB, free: 1.109 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 8.675e-05/0.007603, allocations: 95.25 kB / 0.884 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.615e-05/0.007659, allocations: 15.69 kB / 0.884 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007661, allocations: 4 kB / 0.884 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.007676, allocations: 15.61 kB / 0.884 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.007824, allocations: 4 kB / 0.8841 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.008174, allocations: 134.3 kB / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.008209, allocations: 59.34 kB / 0.8842 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.008225, allocations: 0 / 0.8842 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.008262, allocations: 74.33 kB / 0.8843 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of SimCode: time 8.41e-07/0.008263, allocations: 0 / 0.8843 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of Templates: time 0.001724/0.009986, allocations: 363.6 kB / 0.8847 GB, free: 332 kB / 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1440293518826365]