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.0009575/0.0009575, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000913/0.000913, allocations: 173.3 kB / 23.5 MB, free: 1.059 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 0.9078/0.9078, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.119/2.119, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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.342e-06/1.342e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.082e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.0018/0.001821, allocations: 1.504 MB / 0.8797 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005573/0.002378, allocations: 452.8 kB / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.002428, allocations: 0 / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.002454, allocations: 3.938 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.002497, allocations: 0.8438 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.002708, allocations: 27.91 kB / 0.8801 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.002799, allocations: 24.36 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.002885, allocations: 8 kB / 0.8802 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.003011, allocations: 25 kB / 0.8802 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.003054, allocations: 11.92 kB / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003068, allocations: 8.594 kB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.003105, allocations: 4 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.003116, allocations: 5.75 kB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.003133, allocations: 4 kB / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.153e-05/0.003224, allocations: 23.91 kB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.003227, allocations: 0 / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.883e-06/0.003229, allocations: 3.984 kB / 0.8802 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003233, allocations: 4.844 kB / 0.8802 GB, free: 4.531 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.0003183/0.003551, allocations: 364.5 kB / 0.8806 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.003585, allocations: 8.906 kB / 0.8806 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.003696, allocations: 16.59 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.003826, allocations: 120.5 kB / 0.8807 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.003834, allocations: 384 / 0.8807 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.003844, allocations: 8.375 kB / 0.8807 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.311e-05/0.003937, allocations: 46.95 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.003943, allocations: 192 / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003951, allocations: 384 / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.003958, allocations: 7.875 kB / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.648e-05/0.003985, allocations: 7.984 kB / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.004211, allocations: 243.9 kB / 0.881 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.00426, allocations: 27.69 kB / 0.8811 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.004283, allocations: 20.33 kB / 0.8811 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.004296, allocations: 4.656 kB / 0.8811 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.004317, allocations: 42.27 kB / 0.8811 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004318, allocations: 0 / 0.8811 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001274/0.004445, allocations: 35.23 kB / 0.8812 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.004473, allocations: 59.39 kB / 0.8812 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.004541, allocations: 161.9 kB / 0.8814 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.004549, allocations: 33.64 kB / 0.8814 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.004591, allocations: 135 kB / 0.8815 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.004605, allocations: 7.953 kB / 0.8815 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.004631, allocations: 23.38 kB / 0.8816 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.004728, allocations: 492.1 kB / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.004741, allocations: 7.984 kB / 0.882 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.004748, allocations: 0 / 0.882 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.004774, allocations: 19.62 kB / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004775, allocations: 0 / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.726e-05/0.004822, allocations: 41.66 kB / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.004835, allocations: 7.938 kB / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.004839, allocations: 4.094 kB / 0.8821 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.004851, allocations: 3.984 kB / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.004904, allocations: 4 kB / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.004908, allocations: 0 / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.004921, allocations: 0 / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.004925, allocations: 4 kB / 0.8821 GB, free: 2.414 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 5.339e-05/0.004978, allocations: 156.6 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.004993, allocations: 11.88 kB / 0.8823 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.005012, allocations: 7.609 kB / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.005013, allocations: 0 / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.005017, allocations: 7.984 kB / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005019, allocations: 0 / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.162e-05/0.005101, allocations: 116.6 kB / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.005103, allocations: 7.984 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.005116, allocations: 4 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005117, allocations: 0 / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.005123, allocations: 3.938 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.005124, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005124, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.406e-05/0.005208, allocations: 195.9 kB / 0.8826 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-06/0.005213, allocations: 4.031 kB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.005222, allocations: 3.938 kB / 0.8826 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.698e-05/0.005249, allocations: 4 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.005276, allocations: 7.922 kB / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.005279, allocations: 0 / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.005311, allocations: 131.1 kB / 0.8828 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005311, allocations: 0 / 0.8828 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001311/0.005442, allocations: 4 kB / 0.8828 GB, free: 1.699 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 7.189e-05/0.005514, allocations: 95.25 kB / 0.8828 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.893e-05/0.005583, allocations: 23.67 kB / 0.8829 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.005584, allocations: 0 / 0.8829 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.005599, allocations: 15.69 kB / 0.8829 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.005746, allocations: 1.875 kB / 0.8829 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.006149, allocations: 142.2 kB / 0.883 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.00618, allocations: 51.36 kB / 0.8831 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.66e-05/0.006197, allocations: 4.125 kB / 0.8831 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.00622, allocations: 12.5 kB / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of SimCode: time 7.51e-07/0.006221, allocations: 0 / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of Templates: time 0.001713/0.007934, allocations: 339.2 kB / 0.8834 GB, free: 1 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","",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.108790909172967]