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.0009649/0.0009649, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00098/0.00098, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.011/1.011, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.44/2.44, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.663e-06/1.663e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.558e-05, allocations: 5.125 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.003083/0.003109, allocations: 1.545 MB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.003938, allocations: 450.8 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.003996, allocations: 4 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.004022, allocations: 3.938 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.004075, allocations: 7.922 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.004271, allocations: 19.92 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.715e-05/0.004369, allocations: 23.92 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.582e-05/0.004444, allocations: 7.984 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.004588, allocations: 27.86 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.004634, allocations: 7.984 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.004649, allocations: 4 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.004702, allocations: 4 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.004717, allocations: 11.92 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.004737, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.004838, allocations: 23.97 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004841, allocations: 0 / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004842, allocations: 3.938 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.004845, allocations: 0 / 0.8407 GB, free: 12.01 MB / 0.8073 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.0002956/0.005141, allocations: 236.9 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.005181, allocations: 8.625 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.00532, allocations: 20.92 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.005464, allocations: 117.7 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.005473, allocations: 384 / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.005481, allocations: 4.375 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.005579, allocations: 50.95 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.005588, allocations: 4.172 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.005595, allocations: 384 / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005601, allocations: 3.938 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.005626, allocations: 4 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.005848, allocations: 156.2 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.005892, allocations: 22.58 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.005909, allocations: 8.922 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.005921, allocations: 0 / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.005948, allocations: 34.56 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.005949, allocations: 0 / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001209/0.00607, allocations: 45.56 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.006103, allocations: 55.41 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.006175, allocations: 114.7 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.006187, allocations: 29.83 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.006219, allocations: 80.14 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.006239, allocations: 7.953 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.006273, allocations: 17.7 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.006366, allocations: 314.8 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.006376, allocations: 4 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.006385, allocations: 0 / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.006416, allocations: 8.859 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006418, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.407e-05/0.006482, allocations: 45.69 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.006498, allocations: 8 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006503, allocations: 0 / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.006518, allocations: 3.938 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.006585, allocations: 4 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.006588, allocations: 0 / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.006609, allocations: 3.984 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006614, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 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 6.12e-05/0.006675, allocations: 109.8 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.006699, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.006721, allocations: 15.59 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.006724, allocations: 3.938 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006727, allocations: 3.984 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006731, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.006854, allocations: 69.88 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.006856, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.00689, allocations: 7.938 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006892, allocations: 0 / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.006899, allocations: 7.984 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.0069, allocations: 0 / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.006902, allocations: 0 / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.007004, allocations: 131.5 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.007013, allocations: 7.984 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.007023, allocations: 4 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.007076, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.007101, allocations: 3.938 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.007103, allocations: 0 / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.1e-05/0.007124, allocations: 16.84 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.007124, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002188/0.007343, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 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 9.999e-05/0.007443, allocations: 80.45 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.638e-05/0.00751, allocations: 16.78 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.007513, allocations: 0 / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.00753, allocations: 12.84 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.007694, allocations: 8 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.008125, allocations: 122.7 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.135e-05/0.008166, allocations: 67.41 kB / 0.8428 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.008186, allocations: 4 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.008227, allocations: 51.38 kB / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.008228, allocations: 0 / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of Templates: time 0.002169/0.0104, allocations: 339.1 kB / 0.8431 GB, free: 9.328 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.129003879614174]