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.371/1.371, allocations: 251.5 MB / 267.4 MB, free: 11.1 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.0009698/0.0009699, allocations: 168.2 kB / 326.5 MB, free: 2.73 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.576/1.576, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0008057/0.0008059, allocations: 85.25 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 8.031 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 105.4 MB / 0.8967 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001667/0.2411, allocations: 1.251 MB / 0.898 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2423, allocations: 0.8039 MB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.2424, allocations: 3.938 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.2424, allocations: 7.922 kB / 0.8988 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.2425, allocations: 19.88 kB / 0.8988 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.243, allocations: 103.8 kB / 0.8989 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.2431, allocations: 99.69 kB / 0.899 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2432, allocations: 11.94 kB / 0.899 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.2433, allocations: 39.84 kB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.2434, allocations: 43.77 kB / 0.8991 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.2434, allocations: 8 kB / 0.8991 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2436, allocations: 87.91 kB / 0.8992 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.2436, allocations: 23.91 kB / 0.8992 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.2437, allocations: 39.78 kB / 0.8992 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2438, allocations: 103.8 kB / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2438, allocations: 0 / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2439, allocations: 0 / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2439, allocations: 0 / 0.8993 GB, free: 65.59 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.0006305/0.2445, allocations: 492.2 kB / 0.8998 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2445, allocations: 12.03 kB / 0.8998 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.2446, allocations: 12.83 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2447, allocations: 172.2 kB / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2447, allocations: 8.375 kB / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2448, allocations: 4.375 kB / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2449, allocations: 85.95 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.245, allocations: 4 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.245, allocations: 3.938 kB / 0.9001 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.245, allocations: 4 kB / 0.9001 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.2451, allocations: 51.95 kB / 0.9001 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.2456, allocations: 336.7 kB / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.2458, allocations: 90.64 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.2459, allocations: 44.83 kB / 0.9006 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.2459, allocations: 7.969 kB / 0.9006 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.2461, allocations: 99.36 kB / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.2462, allocations: 0 / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003809/0.2465, allocations: 181.5 kB / 0.9008 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.2466, allocations: 59.34 kB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.2467, allocations: 140.6 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2467, allocations: 33.64 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.2467, allocations: 100 kB / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.2468, allocations: 19.72 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.2468, allocations: 21.7 kB / 0.9012 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.2469, allocations: 326.8 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.2469, allocations: 31.98 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.247, allocations: 73.08 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.2472, allocations: 117 kB / 0.9017 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2472, allocations: 0 / 0.9017 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002147/0.2474, allocations: 141.4 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2475, allocations: 4 kB / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2475, allocations: 0 / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2475, allocations: 4 kB / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2476, allocations: 20.08 kB / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2476, allocations: 8 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.2477, allocations: 15.89 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2477, allocations: 8 kB / 0.9019 GB, free: 62.64 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 (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 7.506e-05/0.2478, allocations: 125.7 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2478, allocations: 11.89 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.2481, allocations: 164.1 kB / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2481, allocations: 4 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2482, allocations: 0 / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2482, allocations: 0 / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.2486, allocations: 466.4 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2487, allocations: 0 / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.2487, allocations: 15.94 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2487, allocations: 3.984 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2488, allocations: 3.984 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2488, allocations: 0 / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2488, allocations: 7.938 kB / 0.9027 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.249, allocations: 253.9 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.2491, allocations: 85.02 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2491, allocations: 4 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2492, allocations: 11.98 kB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.2493, allocations: 15.92 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2493, allocations: 4 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.2493, allocations: 110.1 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2493, allocations: 0 / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002775/0.2496, allocations: 40 kB / 0.9032 GB, free: 61.24 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.0003034/0.2499, allocations: 168.4 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2502, allocations: 99.89 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2502, allocations: 0 / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2503, allocations: 57.66 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.2506, allocations: 21.7 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.251, allocations: 263.7 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.2513, allocations: 0.6965 MB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.2513, allocations: 15.44 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2513, allocations: 7.938 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.003158/0.2545, allocations: 1.925 MB / 0.9064 GB, free: 57.95 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)