Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 308.1 MB, free: 4.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 191 kB / 376.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009474/0.0009476, allocations: 100.8 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 56.06 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2445, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003076/0.2477, allocations: 1.592 MB / 0.9838 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2492, allocations: 0.7917 MB / 0.9845 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.2493, allocations: 0 / 0.9845 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.168e-05/0.2494, allocations: 7.938 kB / 0.9846 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.855e-05/0.2495, allocations: 11.86 kB / 0.9846 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.2501, allocations: 103.8 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.2502, allocations: 99.62 kB / 0.9848 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2503, allocations: 15.98 kB / 0.9848 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2504, allocations: 35.86 kB / 0.9848 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.2505, allocations: 47.81 kB / 0.9849 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.2506, allocations: 11.94 kB / 0.9849 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2508, allocations: 83.91 kB / 0.9849 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.2509, allocations: 23.91 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.2509, allocations: 35.8 kB / 0.985 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2512, allocations: 159.8 kB / 0.9852 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2512, allocations: 0 / 0.9852 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2512, allocations: 0 / 0.9852 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2512, allocations: 0 / 0.9852 GB, free: 7.355 MB / 0.7136 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.0009036/0.2522, allocations: 496.2 kB / 0.9856 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2522, allocations: 8.031 kB / 0.9856 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.2523, allocations: 12.83 kB / 0.9856 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.2524, allocations: 176.2 kB / 0.9858 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2525, allocations: 8.312 kB / 0.9858 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.2525, allocations: 4.375 kB / 0.9858 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.2527, allocations: 89.89 kB / 0.9859 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2527, allocations: 3.984 kB / 0.9859 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2528, allocations: 4 kB / 0.9859 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2528, allocations: 0 / 0.9859 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.2529, allocations: 55.95 kB / 0.986 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.2536, allocations: 328.7 kB / 0.9863 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.2538, allocations: 86.7 kB / 0.9864 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.2539, allocations: 44.84 kB / 0.9864 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2539, allocations: 3.984 kB / 0.9864 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.2542, allocations: 91.36 kB / 0.9865 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.2542, allocations: 0 / 0.9865 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004207/0.2546, allocations: 181.4 kB / 0.9867 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.2547, allocations: 55.41 kB / 0.9867 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2548, allocations: 140.3 kB / 0.9869 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2548, allocations: 29.7 kB / 0.9869 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.2549, allocations: 96.12 kB / 0.987 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.2549, allocations: 23.66 kB / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.255, allocations: 33.7 kB / 0.987 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2551, allocations: 326.8 kB / 0.9874 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.2552, allocations: 31.98 kB / 0.9874 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-05/0.2553, allocations: 73.12 kB / 0.9875 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.2555, allocations: 113 kB / 0.9876 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2555, allocations: 0 / 0.9876 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002513/0.2557, allocations: 129.4 kB / 0.9877 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.2558, allocations: 8 kB / 0.9877 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.2558, allocations: 7.969 kB / 0.9877 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2558, allocations: 4 kB / 0.9877 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2559, allocations: 20.08 kB / 0.9877 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.256, allocations: 0 / 0.9877 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.2561, allocations: 19.84 kB / 0.9877 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.2561, allocations: 11.92 kB / 0.9878 GB, free: 4.418 MB / 0.7136 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 0.0001049/0.2562, allocations: 125.9 kB / 0.9879 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.2562, allocations: 11.91 kB / 0.9879 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.2566, allocations: 158.3 kB / 0.988 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-06/0.2566, allocations: 4 kB / 0.988 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2566, allocations: 4 kB / 0.988 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2566, allocations: 0 / 0.988 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.2572, allocations: 458.2 kB / 0.9885 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2572, allocations: 0 / 0.9885 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.2573, allocations: 15.92 kB / 0.9885 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2573, allocations: 4 kB / 0.9885 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2573, allocations: 4 kB / 0.9885 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2573, allocations: 0 / 0.9885 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2573, allocations: 3.938 kB / 0.9885 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.2579, allocations: 0.8293 MB / 0.9893 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.258, allocations: 92.94 kB / 0.9894 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.258, allocations: 4 kB / 0.9894 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2581, allocations: 11.98 kB / 0.9894 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.2582, allocations: 11.98 kB / 0.9894 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2582, allocations: 4 kB / 0.9894 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.2583, allocations: 99.27 kB / 0.9895 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.2583, allocations: 0 / 0.9895 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004071/0.2587, allocations: 47.98 kB / 0.9896 GB, free: 2.398 MB / 0.7136 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.0003631/0.2591, allocations: 169.6 kB / 0.9897 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.2593, allocations: 99.83 kB / 0.9898 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2593, allocations: 0 / 0.9898 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2595, allocations: 47.98 kB / 0.9899 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.2598, allocations: 20.39 kB / 0.9899 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.2603, allocations: 392.5 kB / 0.9903 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.2606, allocations: 0.7082 MB / 0.991 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.33e-05/0.2607, allocations: 16.41 kB / 0.991 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.2607, allocations: 11.44 kB / 0.991 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2607, allocations: 0 / 0.991 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of Templates: time 0.004615/0.2653, allocations: 1.873 MB / 0.9928 GB, free: 15.02 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)