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.431/1.431, allocations: 251.5 MB / 267.4 MB, free: 10.99 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.001141/0.001141, allocations: 168.8 kB / 326.5 MB, free: 2.633 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.8/1.8, allocations: 205 MB / 0.5766 GB, free: 20.52 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.0009536/0.0009536, allocations: 92.59 kB / 0.6804 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 12.31 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2361, allocations: 105.4 MB / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001801/0.2379, allocations: 1.27 MB / 0.898 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2394, allocations: 0.8301 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.2395, allocations: 0 / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.2395, allocations: 3.938 kB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.2396, allocations: 15.86 kB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.2402, allocations: 107.8 kB / 0.8989 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.2404, allocations: 95.64 kB / 0.899 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.2405, allocations: 19.98 kB / 0.899 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2406, allocations: 31.91 kB / 0.899 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.2407, allocations: 51.75 kB / 0.8991 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.2407, allocations: 4 kB / 0.8991 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2409, allocations: 91.84 kB / 0.8992 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.241, allocations: 15.92 kB / 0.8992 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.241, allocations: 35.8 kB / 0.8992 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.2412, allocations: 115.8 kB / 0.8993 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2412, allocations: 0 / 0.8993 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2412, allocations: 0 / 0.8993 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2412, allocations: 4 kB / 0.8994 GB, free: 64.93 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.0006874/0.2419, allocations: 492.3 kB / 0.8998 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.242, allocations: 12.03 kB / 0.8998 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.2421, allocations: 16.73 kB / 0.8998 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2422, allocations: 186.4 kB / 0.9 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2422, allocations: 8.375 kB / 0.9 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2422, allocations: 4.375 kB / 0.9 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2424, allocations: 89.88 kB / 0.9001 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2425, allocations: 0 / 0.9001 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2425, allocations: 11.98 kB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2425, allocations: 0 / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.2426, allocations: 51.91 kB / 0.9002 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.2431, allocations: 340.6 kB / 0.9005 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2434, allocations: 78.67 kB / 0.9006 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.2435, allocations: 44.94 kB / 0.9006 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2435, allocations: 7.938 kB / 0.9006 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.2437, allocations: 107.3 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.2437, allocations: 0 / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004043/0.2441, allocations: 181.5 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2442, allocations: 55.41 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.2443, allocations: 145.8 kB / 0.9011 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2443, allocations: 33.64 kB / 0.9011 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.2443, allocations: 96.05 kB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.2444, allocations: 27.64 kB / 0.9013 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2444, allocations: 17.72 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.2445, allocations: 330.8 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.2445, allocations: 31.97 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.2446, allocations: 70.41 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2448, allocations: 109.1 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2448, allocations: 4 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000252/0.2451, allocations: 137.5 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2451, allocations: 4 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2451, allocations: 4 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2451, allocations: 144 / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2452, allocations: 31.91 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2452, allocations: 3.984 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.2453, allocations: 15.91 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2454, allocations: 11.97 kB / 0.902 GB, free: 61.95 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.975e-05/0.2455, allocations: 134.5 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.2455, allocations: 15.84 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.2458, allocations: 167.8 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.2458, allocations: 4 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2458, allocations: 0 / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2458, allocations: 3.938 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.2463, allocations: 470.2 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2464, allocations: 0 / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.2464, allocations: 19.98 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2465, allocations: 4 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2465, allocations: 0 / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2465, allocations: 11.98 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2465, allocations: 3.938 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.2468, allocations: 250.3 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.2468, allocations: 88.92 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.2468, allocations: 4 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.247, allocations: 15.98 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.247, allocations: 15.92 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.247, allocations: 8 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.176e-05/0.2471, allocations: 109.7 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2471, allocations: 0 / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003/0.2474, allocations: 43.94 kB / 0.9033 GB, free: 60.5 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.0003255/0.2477, allocations: 155.1 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.248, allocations: 108 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.248, allocations: 0 / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.2481, allocations: 52.17 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2484, allocations: 35.94 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.2489, allocations: 288.7 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2491, allocations: 0.7004 MB / 0.9046 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.2491, allocations: 15.44 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2491, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.003457/0.2526, allocations: 1.986 MB / 0.9065 GB, free: 57.13 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)