Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 252 MB / 268 MB, free: 10.88 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.0009988/0.0009986, allocations: 169.2 kB / 327.6 MB, free: 2.133 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.887/1.887, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0007353/0.0007354, allocations: 89.72 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003838, allocations: 13.91 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 106.3 MB / 0.9014 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001531/0.2345, allocations: 1.266 MB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2357, allocations: 0.8069 MB / 0.9035 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.2357, allocations: 0 / 0.9035 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.2357, allocations: 0 / 0.9035 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.859e-05/0.2359, allocations: 19.8 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.2363, allocations: 115.8 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.657e-05/0.2364, allocations: 91.7 kB / 0.9037 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.2365, allocations: 12 kB / 0.9037 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.2366, allocations: 43.83 kB / 0.9037 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.2367, allocations: 39.77 kB / 0.9038 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2367, allocations: 4 kB / 0.9038 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.2369, allocations: 95.91 kB / 0.9039 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.2369, allocations: 19.86 kB / 0.9039 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.237, allocations: 65.48 kB / 0.904 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.2371, allocations: 107.8 kB / 0.9041 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2371, allocations: 7.938 kB / 0.9041 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2371, allocations: 0 / 0.9041 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2372, allocations: 0 / 0.9041 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.0006626/0.2378, allocations: 0.4888 MB / 0.9045 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2379, allocations: 12.03 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.2379, allocations: 16.75 kB / 0.9046 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.238, allocations: 174.1 kB / 0.9047 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.238, allocations: 8.375 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.2381, allocations: 4.375 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.2383, allocations: 93.88 kB / 0.9048 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2383, allocations: 7.938 kB / 0.9048 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2383, allocations: 0 / 0.9048 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2383, allocations: 4 kB / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.2385, allocations: 47.97 kB / 0.9049 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.2389, allocations: 336.7 kB / 0.9052 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.2391, allocations: 86.69 kB / 0.9053 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.2392, allocations: 44.83 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.2393, allocations: 7.984 kB / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.2395, allocations: 99.36 kB / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.2395, allocations: 0 / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003748/0.2399, allocations: 189.7 kB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2399, allocations: 55.39 kB / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.24, allocations: 148 kB / 0.9058 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.24, allocations: 29.7 kB / 0.9058 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.2401, allocations: 100 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2401, allocations: 23.66 kB / 0.906 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.2401, allocations: 4 kB / 0.906 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.2402, allocations: 326.8 kB / 0.9063 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.987e-05/0.2403, allocations: 27.98 kB / 0.9063 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.2403, allocations: 74.67 kB / 0.9064 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.2406, allocations: 113 kB / 0.9065 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2406, allocations: 0 / 0.9065 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002679/0.2409, allocations: 141.4 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2409, allocations: 4 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2409, allocations: 7.938 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2409, allocations: 0 / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2411, allocations: 16.08 kB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2411, allocations: 11.94 kB / 0.9067 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.761e-05/0.2412, allocations: 23.83 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2412, allocations: 8 kB / 0.9067 GB, free: 57.89 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 7.986e-05/0.2413, allocations: 127.2 kB / 0.9068 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.2413, allocations: 7.906 kB / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.2416, allocations: 170.3 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2416, allocations: 3.984 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2416, allocations: 0 / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2417, allocations: 4 kB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.2421, allocations: 472.9 kB / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2422, allocations: 144 / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.2422, allocations: 19.92 kB / 0.9075 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.2423, allocations: 3.984 kB / 0.9075 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2423, allocations: 4 kB / 0.9075 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2423, allocations: 3.938 kB / 0.9075 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2423, allocations: 3.938 kB / 0.9075 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.2426, allocations: 255.4 kB / 0.9077 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.2426, allocations: 92.86 kB / 0.9078 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.2426, allocations: 3.984 kB / 0.9078 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.2428, allocations: 16 kB / 0.9078 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.2428, allocations: 19.84 kB / 0.9078 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2429, allocations: 4 kB / 0.9078 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.2429, allocations: 107.3 kB / 0.9079 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2429, allocations: 4 kB / 0.9079 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002895/0.2432, allocations: 47.98 kB / 0.908 GB, free: 56.45 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 (14): * Single equations (assignments): 11 * 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.0003337/0.2436, allocations: 155.1 kB / 0.9081 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.2438, allocations: 99.89 kB / 0.9082 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2438, allocations: 0 / 0.9082 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.2439, allocations: 63.91 kB / 0.9083 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2442, allocations: 22.03 kB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.2447, allocations: 293.1 kB / 0.9086 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.2449, allocations: 0.7043 MB / 0.9093 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.2449, allocations: 23.36 kB / 0.9093 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2449, allocations: 0 / 0.9093 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.003297/0.2482, allocations: 1.986 MB / 0.9112 GB, free: 53.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)