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.001103/0.001103, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002591, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001015/0.001015, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002247, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9669/0.9669, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08359/1.05, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.818/1.818, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4708/2.289, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.813e-06/1.813e-06, allocations: 0 / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.481e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00346/0.003484, allocations: 1.539 MB / 0.7308 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.00431, allocations: 452 kB / 0.7313 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.004363, allocations: 4 kB / 0.7313 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.004389, allocations: 5.266 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.004427, allocations: 10.33 kB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.004558, allocations: 16.52 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.004657, allocations: 30.94 kB / 0.7313 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.004745, allocations: 4.484 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.004934, allocations: 34.97 kB / 0.7314 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.004995, allocations: 13.3 kB / 0.7314 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.005013, allocations: 5.438 kB / 0.7314 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.005082, allocations: 4.875 kB / 0.7314 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.005096, allocations: 1.641 kB / 0.7314 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.005116, allocations: 4.984 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.005237, allocations: 22.83 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.005255, allocations: 0 / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005255, allocations: 0.6875 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.005273, allocations: 0 / 0.7314 GB, free: 2.441 MB / 0.698 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.0004007/0.005674, allocations: 241.1 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.005709, allocations: 10.91 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.005901, allocations: 90.03 kB / 0.7317 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.006055, allocations: 125.6 kB / 0.7319 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.006064, allocations: 384 / 0.7319 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.006074, allocations: 9.188 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.006182, allocations: 46.95 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.00619, allocations: 1.406 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.006197, allocations: 384 / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006204, allocations: 7.922 kB / 0.7319 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.006234, allocations: 4.875 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.006447, allocations: 145 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.006505, allocations: 27.39 kB / 0.7321 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.006523, allocations: 9.484 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.006535, allocations: 0 / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.006566, allocations: 40.22 kB / 0.7321 GB, free: 1.598 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.006568, allocations: 0 / 0.7321 GB, free: 1.598 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001252/0.006693, allocations: 41.58 kB / 0.7322 GB, free: 1.551 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.006726, allocations: 56.56 kB / 0.7322 GB, free: 1.484 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.006796, allocations: 110.7 kB / 0.7323 GB, free: 1.363 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.006807, allocations: 25.7 kB / 0.7324 GB, free: 1.332 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.006843, allocations: 84.95 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.006863, allocations: 11.94 kB / 0.7324 GB, free: 1.234 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.006899, allocations: 13.7 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.006986, allocations: 315.8 kB / 0.7328 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.007, allocations: 0 / 0.7328 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/0.00701, allocations: 4.656 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.007044, allocations: 13.44 kB / 0.7328 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007046, allocations: 1.031 kB / 0.7328 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.19e-05/0.007118, allocations: 41.64 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.007136, allocations: 6.812 kB / 0.7328 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007141, allocations: 0.6875 kB / 0.7328 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.007153, allocations: 5.719 kB / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.007232, allocations: 7.984 kB / 0.7328 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.007235, allocations: 0 / 0.7328 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.007256, allocations: 4 kB / 0.7328 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.007261, allocations: 0 / 0.7328 GB, free: 0.8125 MB / 0.698 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.397e-05/0.007325, allocations: 107.1 kB / 0.7329 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.00735, allocations: 8 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.007381, allocations: 7.609 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.007385, allocations: 6 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.007386, allocations: 0 / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.007392, allocations: 4 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.007512, allocations: 65.89 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.007515, allocations: 0 / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.007568, allocations: 8.734 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.007578, allocations: 0 / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.007583, allocations: 4.812 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007588, allocations: 0 / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.007592, allocations: 4.594 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.007594, allocations: 0 / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.007713, allocations: 133.4 kB / 0.7332 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.007725, allocations: 4 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.007785, allocations: 7.938 kB / 0.7332 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.007815, allocations: 7.922 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.00782, allocations: 0 / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.139e-05/0.007841, allocations: 14.12 kB / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.007841, allocations: 0 / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001821/0.008023, allocations: 4 kB / 0.7332 GB, free: 400 kB / 0.698 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.0001122/0.008135, allocations: 81.45 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.008211, allocations: 17.78 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.008217, allocations: 3.938 kB / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.008235, allocations: 9.953 kB / 0.7333 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.00839, allocations: 8 kB / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/0.009344, allocations: 126.7 kB / 0.7335 GB, free: 116 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.009381, allocations: 51.36 kB / 0.7335 GB, free: 44 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.009409, allocations: 4 kB / 0.7335 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.009471, allocations: 54.11 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/0.009472, allocations: 0 / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.005555/0.01503, allocations: 339.8 kB / 0.7339 GB, free: 15.67 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.ref.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.814031463116407]