Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009445/0.0009445, allocations: 179.7 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007846/0.0007846, allocations: 90.36 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 9.594 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2376, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001535/0.2392, allocations: 0.9357 MB / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000921/0.2402, allocations: 424.2 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.2402, allocations: 0 / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.2403, allocations: 0 / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.2403, allocations: 4 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.241, allocations: 79.78 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.2411, allocations: 8 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.2411, allocations: 7.984 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.2412, allocations: 4 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.2412, allocations: 7.938 kB / 0.8982 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2412, allocations: 4 kB / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.2415, allocations: 91.83 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.2415, allocations: 4 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.2416, allocations: 7.922 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.2417, allocations: 59.91 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.2417, allocations: 4 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2418, allocations: 0 / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2418, allocations: 0 / 0.8983 GB, free: 66.58 MB / 0.6042 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.0004836/0.2423, allocations: 339.7 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2423, allocations: 12.03 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.2424, allocations: 0.9375 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2425, allocations: 164.4 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.2425, allocations: 12.38 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2425, allocations: 4.312 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2426, allocations: 34.25 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2426, allocations: 8.188 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2427, allocations: 3.938 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2427, allocations: 0 / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.2427, allocations: 7.984 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.2429, allocations: 149.7 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.243, allocations: 31.45 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.243, allocations: 16.89 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.243, allocations: 3.984 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.2432, allocations: 55.41 kB / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.464e-06/0.2432, allocations: 0 / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001983/0.2434, allocations: 77.45 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2434, allocations: 55.34 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.2435, allocations: 97.86 kB / 0.8993 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2435, allocations: 29.7 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.141e-05/0.2435, allocations: 84.08 kB / 0.8994 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.2436, allocations: 7.891 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.2436, allocations: 17.72 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.2437, allocations: 310.8 kB / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.2437, allocations: 11.98 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.2437, allocations: 35.56 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.2438, allocations: 43.55 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2438, allocations: 7.984 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.348e-05/0.2439, allocations: 61.72 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2439, allocations: 15.94 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.244, allocations: 0 / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.244, allocations: 0 / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.041e-05/0.2441, allocations: 11.94 kB / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2441, allocations: 0 / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.2441, allocations: 15.84 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2441, allocations: 0 / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.86e-05/0.2442, allocations: 113.8 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.2442, allocations: 3.938 kB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.2443, allocations: 11.5 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2443, allocations: 4 kB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.2443, allocations: 0 / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2443, allocations: 0 / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2444, allocations: 153.7 kB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2444, allocations: 0 / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.2444, allocations: 0 / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2444, allocations: 3.938 kB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.2445, allocations: 8 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2445, allocations: 3.984 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2445, allocations: 4 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.2446, allocations: 81.06 kB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.2446, allocations: 77.11 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2447, allocations: 15.86 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.2447, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.2447, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2447, allocations: 4 kB / 0.9004 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.349e-05/0.2447, allocations: 79.28 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2448, allocations: 0 / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002687/0.245, allocations: 31.98 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0003601/0.2454, allocations: 174.6 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.2455, allocations: 27.92 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2455, allocations: 4.281 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.2456, allocations: 8 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.2457, allocations: 8 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.246, allocations: 140.3 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2461, allocations: 0.6731 MB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.2462, allocations: 7.438 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2462, allocations: 0 / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.002966/0.2492, allocations: 1.137 MB / 0.9027 GB, free: 61.73 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)