Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008319/0.0008319, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008269/0.0008269, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8564/0.8564, allocations: 177.1 MB / 203.5 MB, free: 5.746 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 1.703/1.703, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.234e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001765/0.001788, allocations: 1.451 MB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005694/0.002357, allocations: 435.6 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.002409, allocations: 4 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.002434, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.002475, allocations: 7.922 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.002674, allocations: 19.92 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.197e-05/0.002766, allocations: 35.86 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.002853, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.002959, allocations: 23.97 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.003003, allocations: 15.92 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.003016, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.548e-05/0.003051, allocations: 4 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.00306, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.003078, allocations: 11.98 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.565e-05/0.003174, allocations: 31.83 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003175, allocations: 0 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.293e-06/0.003177, allocations: 4 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.003181, allocations: 0 / 1.003 GB, free: 10.95 MB / 0.9636 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.0003246/0.003506, allocations: 258.3 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003541, allocations: 13.34 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.003647, allocations: 20.88 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.003785, allocations: 113.7 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.003793, allocations: 384 / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.0038, allocations: 384 / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.003899, allocations: 46.25 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.003906, allocations: 4.188 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.003916, allocations: 384 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.003922, allocations: 3.938 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.18e-05/0.003974, allocations: 19.98 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.004215, allocations: 200.6 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.004273, allocations: 30.52 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.004304, allocations: 16.91 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.004318, allocations: 0 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.004469, allocations: 42.5 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.00447, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.004631, allocations: 65.56 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.00466, allocations: 51.41 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.00472, allocations: 110.1 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.004728, allocations: 25.7 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.004764, allocations: 88.08 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.00478, allocations: 7.891 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.0048, allocations: 13.72 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.004869, allocations: 323 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.004892, allocations: 15.94 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.00491, allocations: 11.98 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.004951, allocations: 24.84 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.004953, allocations: 0 / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.101e-05/0.005014, allocations: 53.62 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005026, allocations: 9.5 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.005031, allocations: 4.094 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.005042, allocations: 4 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.005092, allocations: 7.984 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005097, allocations: 4.062 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.005111, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.005116, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9636 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 4.515e-05/0.005161, allocations: 109.8 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.005173, allocations: 7.891 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/0.00519, allocations: 11.62 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005191, allocations: 0 / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.005195, allocations: 4 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.005198, allocations: 3.984 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.937e-05/0.005277, allocations: 101.3 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.005279, allocations: 4 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.005296, allocations: 7.984 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.005297, allocations: 0 / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.005305, allocations: 3.938 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005306, allocations: 0 / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005307, allocations: 0 / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.264e-05/0.005389, allocations: 143.5 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.005396, allocations: 15.97 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.005406, allocations: 3.938 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.005434, allocations: 4 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.005459, allocations: 4 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.005461, allocations: 0 / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.005487, allocations: 87.25 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005487, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000131/0.005618, allocations: 4 kB / 1.005 GB, free: 8.656 MB / 0.9636 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 6.8e-05/0.005686, allocations: 99.25 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.00577, allocations: 19.98 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.005772, allocations: 11.94 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.005791, allocations: 11.92 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.005941, allocations: 12.23 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.00617, allocations: 146.4 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.744e-05/0.006208, allocations: 59.34 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.006231, allocations: 12.62 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.006232, allocations: 4 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of Templates: time 0.001304/0.007536, allocations: 0.5574 MB / 1.006 GB, free: 7.676 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.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: 6.14295138977468]