Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.001396/0.001396, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001553/0.001553, allocations: 161 kB / 23.82 MB, free: 0.75 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.938/0.938, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.748/1.748, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.401e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001727/0.001741, allocations: 1.577 MB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006351/0.002376, allocations: 0.5041 MB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.002431, allocations: 4 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.002524, allocations: 5.5 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.002571, allocations: 15.86 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.002806, allocations: 42.3 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.002931, allocations: 91.69 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.003017, allocations: 11.98 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.003161, allocations: 63.81 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.003216, allocations: 27.91 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.003238, allocations: 8 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.546e-05/0.003273, allocations: 9.75 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.003308, allocations: 19.97 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.003347, allocations: 19.92 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.003468, allocations: 67.73 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003469, allocations: 0 / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00347, allocations: 0.5938 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003473, allocations: 0 / 0.7895 GB, free: 10.03 MB / 0.7448 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.0004635/0.003937, allocations: 476.9 kB / 0.7899 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.003968, allocations: 8.031 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.004074, allocations: 18.64 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.004216, allocations: 148.4 kB / 0.7901 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.004228, allocations: 4.375 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.004242, allocations: 8.375 kB / 0.7901 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.004413, allocations: 117.8 kB / 0.7902 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.004422, allocations: 192 / 0.7902 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.004434, allocations: 8.375 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.004442, allocations: 4.875 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.58e-05/0.004498, allocations: 49.69 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.004832, allocations: 304.6 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.004923, allocations: 79.28 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.004971, allocations: 57.44 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.004987, allocations: 0 / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.005103, allocations: 110.7 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.005104, allocations: 4 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002324/0.005337, allocations: 194.6 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.005372, allocations: 81.64 kB / 0.7911 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.005455, allocations: 192.8 kB / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.005468, allocations: 29.69 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.00552, allocations: 143.4 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.005542, allocations: 23.84 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.00558, allocations: 29.03 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.005678, allocations: 0.4923 MB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.187e-05/0.00573, allocations: 75.39 kB / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.005773, allocations: 71.39 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.867e-05/0.005851, allocations: 125.2 kB / 0.7922 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.005854, allocations: 4 kB / 0.7922 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001526/0.006007, allocations: 220.9 kB / 0.7924 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.006038, allocations: 64.17 kB / 0.7925 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.006042, allocations: 0 / 0.7925 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.006055, allocations: 1.156 kB / 0.7925 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.006131, allocations: 15.98 kB / 0.7925 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.006135, allocations: 0 / 0.7925 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.136e-05/0.006186, allocations: 21.3 kB / 0.7925 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.006196, allocations: 4 kB / 0.7925 GB, free: 6.559 MB / 0.7448 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 7.213e-05/0.006268, allocations: 187.2 kB / 0.7927 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.006284, allocations: 19.83 kB / 0.7927 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.006305, allocations: 12.77 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.006308, allocations: 4.781 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.006311, allocations: 0 / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.006313, allocations: 1.281 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.006536, allocations: 417 kB / 0.7932 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.006537, allocations: 0 / 0.7932 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.006572, allocations: 12.83 kB / 0.7932 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006573, allocations: 0 / 0.7932 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.006581, allocations: 1.219 kB / 0.7932 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006582, allocations: 0 / 0.7932 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006583, allocations: 0 / 0.7932 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.006736, allocations: 311.1 kB / 0.7935 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.006745, allocations: 9.266 kB / 0.7935 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.006758, allocations: 0 / 0.7935 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.006813, allocations: 11.98 kB / 0.7935 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.006888, allocations: 25.69 kB / 0.7935 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.006895, allocations: 3.984 kB / 0.7935 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.006937, allocations: 139.2 kB / 0.7937 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006937, allocations: 0 / 0.7937 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001515/0.007088, allocations: 26.62 kB / 0.7937 GB, free: 5.312 MB / 0.7448 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.0003239/0.007412, allocations: 99.19 kB / 0.7938 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.007605, allocations: 259.5 kB / 0.794 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.007607, allocations: 4 kB / 0.794 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.007679, allocations: 116.8 kB / 0.7941 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.007871, allocations: 21.36 kB / 0.7942 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.008364, allocations: 234.5 kB / 0.7944 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.008398, allocations: 59.34 kB / 0.7944 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.008437, allocations: 13.36 kB / 0.7944 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.008472, allocations: 19.53 kB / 0.7945 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.008472, allocations: 0 / 0.7945 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.002845/0.01132, allocations: 1.415 MB / 0.7959 GB, free: 3.008 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.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.890188253019005]