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.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.001528/0.001528, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001962/0.001962, allocations: 170.1 kB / 24.86 MB, free: 9.289 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.9645/0.9645, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.822/1.822, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.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 1.673e-06/1.673e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.794e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003362/0.00339, allocations: 1.48 MB / 0.8142 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.004203, allocations: 456.8 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.004261, allocations: 0 / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.004288, allocations: 4.891 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.004334, allocations: 3.938 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.004518, allocations: 24.62 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.004589, allocations: 27.86 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.004675, allocations: 5.688 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.004802, allocations: 27.84 kB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.004847, allocations: 15.92 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.004861, allocations: 0 / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.004901, allocations: 5.281 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.004913, allocations: 4 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.004929, allocations: 4 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.00503, allocations: 27.89 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005033, allocations: 0.8125 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.41e-07/0.005034, allocations: 0 / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.005039, allocations: 0.9062 kB / 0.8148 GB, free: 15.36 MB / 0.7761 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.0003566/0.005395, allocations: 360.6 kB / 0.8151 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.005436, allocations: 12.91 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.00556, allocations: 12.92 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.005703, allocations: 121.8 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.005713, allocations: 384 / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.005719, allocations: 4.312 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.005813, allocations: 56.08 kB / 0.8153 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00582, allocations: 192 / 0.8153 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.005827, allocations: 384 / 0.8153 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.005834, allocations: 4.844 kB / 0.8153 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.005857, allocations: 7.984 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.00609, allocations: 229 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.006143, allocations: 32.12 kB / 0.8156 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.006163, allocations: 15.78 kB / 0.8156 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.006175, allocations: 1.812 kB / 0.8156 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.006198, allocations: 33.39 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.006199, allocations: 0 / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001366/0.006335, allocations: 45.59 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.00637, allocations: 60.88 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.006484, allocations: 161.9 kB / 0.8159 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.006494, allocations: 33.64 kB / 0.8159 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.006543, allocations: 134.8 kB / 0.8161 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.00656, allocations: 4.484 kB / 0.8161 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.0066, allocations: 23.38 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.006729, allocations: 492.7 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.006741, allocations: 5.406 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.006752, allocations: 3.984 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.006784, allocations: 15.67 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006786, allocations: 0.5312 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.094e-05/0.006857, allocations: 34.33 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.006871, allocations: 13.91 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.006877, allocations: 3.938 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.006886, allocations: 0 / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.00694, allocations: 7.984 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.006943, allocations: 0 / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.006962, allocations: 0.625 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006968, allocations: 4 kB / 0.8167 GB, free: 13.28 MB / 0.7761 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.107e-05/0.007039, allocations: 157.3 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.007064, allocations: 9.156 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.007086, allocations: 11.56 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.007088, allocations: 0 / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.007092, allocations: 3.984 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.007096, allocations: 0.625 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.007222, allocations: 98.08 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007224, allocations: 0 / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.00725, allocations: 4.938 kB / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007253, allocations: 3.984 kB / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.007258, allocations: 0 / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007259, allocations: 1.344 kB / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.007261, allocations: 3.938 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.007389, allocations: 183.9 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.007401, allocations: 12.81 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.007412, allocations: 4 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.007461, allocations: 2.188 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.007491, allocations: 3.938 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.007495, allocations: 0 / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.007545, allocations: 147.4 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007545, allocations: 0 / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002218/0.007766, allocations: 4 kB / 0.8173 GB, free: 12.6 MB / 0.7761 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.0001129/0.007879, allocations: 95.22 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.193e-05/0.007951, allocations: 15.69 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007953, allocations: 0 / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.007974, allocations: 19.61 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.008193, allocations: 3.938 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.008625, allocations: 130.8 kB / 0.8175 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.008738, allocations: 55.84 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.008761, allocations: 4.969 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.008805, allocations: 66.2 kB / 0.8177 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.008806, allocations: 0.5 kB / 0.8177 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.002245/0.01105, allocations: 362.5 kB / 0.818 GB, free: 11.81 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.985078196041286]