Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 252 MB / 268 MB, free: 10.86 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.0009932/0.0009933, allocations: 184.7 kB / 327.6 MB, free: 2.102 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.651/1.651, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0008932/0.0008932, allocations: 91.45 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 10.22 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002036/0.2453, allocations: 1.25 MB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2467, allocations: 0.7836 MB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.2468, allocations: 4 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.2469, allocations: 7.938 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.247, allocations: 11.86 kB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.2476, allocations: 107.8 kB / 0.9036 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2477, allocations: 91.7 kB / 0.9037 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2478, allocations: 8 kB / 0.9037 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.248, allocations: 43.83 kB / 0.9037 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.2481, allocations: 47.83 kB / 0.9037 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.2481, allocations: 4 kB / 0.9038 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.2483, allocations: 87.84 kB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.2484, allocations: 15.92 kB / 0.9039 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.2484, allocations: 65.48 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2486, allocations: 111.8 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2486, allocations: 4 kB / 0.904 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2486, allocations: 0 / 0.904 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2486, allocations: 0 / 0.904 GB, free: 60.85 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007417/0.2494, allocations: 488.5 kB / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2494, allocations: 8.031 kB / 0.9045 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.2495, allocations: 12.78 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2496, allocations: 180.2 kB / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2496, allocations: 12.3 kB / 0.9047 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.2497, allocations: 8.375 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2499, allocations: 85.95 kB / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2499, allocations: 0 / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2499, allocations: 0 / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2499, allocations: 0 / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.2501, allocations: 59.91 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.2506, allocations: 344.6 kB / 0.9052 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.2508, allocations: 86.7 kB / 0.9053 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.2509, allocations: 44.83 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.251, allocations: 4 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.2512, allocations: 103.3 kB / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.2512, allocations: 0 / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003979/0.2516, allocations: 181.4 kB / 0.9056 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.2516, allocations: 59.39 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.2517, allocations: 135.1 kB / 0.9058 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2518, allocations: 25.7 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.2518, allocations: 96.05 kB / 0.9059 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.2518, allocations: 27.64 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-06/0.2519, allocations: 4 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.2519, allocations: 322.8 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.252, allocations: 35.97 kB / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.2521, allocations: 70.83 kB / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2523, allocations: 109.1 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2523, allocations: 0 / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002297/0.2525, allocations: 141.4 kB / 0.9066 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2525, allocations: 8 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2525, allocations: 3.938 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2526, allocations: 4.094 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2527, allocations: 19.98 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2527, allocations: 0 / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.96e-05/0.2528, allocations: 19.89 kB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2528, allocations: 4 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.437e-05/0.2529, allocations: 132.7 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.2529, allocations: 15.84 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.2533, allocations: 170.5 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2533, allocations: 3.984 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2533, allocations: 0 / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2533, allocations: 0 / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.2538, allocations: 458.3 kB / 0.9074 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2539, allocations: 0 / 0.9074 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-05/0.2539, allocations: 15.98 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2539, allocations: 0 / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.254, allocations: 4 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.254, allocations: 11.92 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.254, allocations: 3.938 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2542, allocations: 253.2 kB / 0.9076 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.2543, allocations: 85.02 kB / 0.9077 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.2543, allocations: 0 / 0.9077 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2544, allocations: 15.98 kB / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.2545, allocations: 11.92 kB / 0.9077 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.2545, allocations: 8 kB / 0.9077 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.2546, allocations: 103.2 kB / 0.9078 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2546, allocations: 4 kB / 0.9078 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003018/0.2549, allocations: 43.98 kB / 0.9079 GB, free: 56.52 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003561/0.2552, allocations: 160.7 kB / 0.908 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.2555, allocations: 99.83 kB / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2555, allocations: 0 / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2556, allocations: 59.91 kB / 0.9082 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2559, allocations: 15.98 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.2564, allocations: 281.3 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2565, allocations: 0.7005 MB / 0.9092 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.2566, allocations: 19.42 kB / 0.9092 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2566, allocations: 0 / 0.9092 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.003932/0.2605, allocations: 1.915 MB / 0.911 GB, free: 53.23 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)