Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 199.3 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.787/2.787, allocations: 443.5 MB / 0.732 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.89 kB / 1.061 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7703, allocations: 160.7 MB / 1.218 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002705/0.773, allocations: 1.538 MB / 1.22 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007705/0.7738, allocations: 452.5 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.7738, allocations: 1.531 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.447e-05/0.7739, allocations: 11.92 kB / 1.22 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.774, allocations: 18.17 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.7742, allocations: 29.2 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.7743, allocations: 84.28 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.7744, allocations: 18.16 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.7745, allocations: 41.78 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.7746, allocations: 34.97 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.7746, allocations: 6.469 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.7746, allocations: 6.375 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.7747, allocations: 23.14 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.7747, allocations: 36 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.7749, allocations: 72.14 kB / 1.221 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7749, allocations: 0 / 1.221 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7749, allocations: 0 / 1.221 GB, free: 2.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.7749, allocations: 1.156 kB / 1.221 GB, free: 2.27 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006965/0.7756, allocations: 445.4 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.7756, allocations: 10.83 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.7756, allocations: 9.703 kB / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.7759, allocations: 199 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.7759, allocations: 7.25 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.7759, allocations: 8.75 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.7762, allocations: 107.3 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.7762, allocations: 0 / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7762, allocations: 1.062 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7762, allocations: 0.9688 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.7765, allocations: 73.44 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.7771, allocations: 333.2 kB / 1.222 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.7774, allocations: 74.52 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.7775, allocations: 54.8 kB / 1.222 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.7775, allocations: 1.156 kB / 1.222 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.7778, allocations: 108.4 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.7778, allocations: 0 / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006491/0.7785, allocations: 215.7 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.7785, allocations: 84.28 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.7787, allocations: 132.5 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.7787, allocations: 27.86 kB / 1.222 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.7788, allocations: 94.83 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.7788, allocations: 23.38 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.7789, allocations: 27.03 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.7791, allocations: 328.9 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.7793, allocations: 50.48 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.7794, allocations: 44.19 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.7798, allocations: 167.9 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7798, allocations: 4.188 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004453/0.7803, allocations: 214.4 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.7803, allocations: 58.25 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.7803, allocations: 1.375 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7803, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.7804, allocations: 14.45 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.7805, allocations: 5.281 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.7806, allocations: 34.08 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.7806, allocations: 6.156 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000119/0.7807, allocations: 147.7 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.7808, allocations: 8.297 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.7808, allocations: 13.73 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7808, allocations: 1.031 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.7808, allocations: 1.031 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.7808, allocations: 0 / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.7815, allocations: 437.8 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7815, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/0.7816, allocations: 13.77 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7816, allocations: 1.125 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.7816, allocations: 5.125 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7816, allocations: 3.938 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7816, allocations: 1.156 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.782, allocations: 268.4 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.7821, allocations: 91.33 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.7821, allocations: 5.125 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.7823, allocations: 20.64 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.7824, allocations: 21.5 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.7824, allocations: 10.19 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.84e-05/0.7825, allocations: 98.05 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7825, allocations: 0 / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002372/0.7827, allocations: 20.5 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001221/0.7828, allocations: 107 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.7833, allocations: 212.3 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7833, allocations: 4.75 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.7835, allocations: 108.9 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.7838, allocations: 18.36 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.7843, allocations: 216.8 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.7847, allocations: 0.695 MB / 1.226 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.74e-05/0.7847, allocations: 14.47 kB / 1.226 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.7848, allocations: 10.84 kB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.7848, allocations: 1.062 kB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.00435/0.7891, allocations: 1.347 MB / 1.227 GB, free: 12.71 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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: 8.434512859676033]