Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, 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.001085/0.001085, allocations: 178.3 kB / 327.6 MB, free: 2.082 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.943/1.943, allocations: 205.4 MB / 0.5786 GB, free: 20.35 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.0009391/0.0009391, allocations: 89.94 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 9.688 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 106.3 MB / 0.9014 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001672/0.2275, allocations: 1.242 MB / 0.9027 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.2288, allocations: 0.8031 MB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.2289, allocations: 0 / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.2289, allocations: 3.938 kB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.229, allocations: 7.922 kB / 0.9035 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.2296, allocations: 107.8 kB / 0.9036 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2297, allocations: 83.72 kB / 0.9036 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2298, allocations: 15.97 kB / 0.9036 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.2299, allocations: 31.86 kB / 0.9037 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.23, allocations: 39.83 kB / 0.9037 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.23, allocations: 4 kB / 0.9037 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.2302, allocations: 87.84 kB / 0.9038 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.2303, allocations: 23.91 kB / 0.9038 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.2303, allocations: 61.5 kB / 0.9039 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.2305, allocations: 103.8 kB / 0.904 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2305, allocations: 3.938 kB / 0.904 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2305, allocations: 0 / 0.904 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2305, allocations: 0 / 0.904 GB, free: 61.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006726/0.2312, allocations: 466.8 kB / 0.9044 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2313, allocations: 12.03 kB / 0.9044 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.2313, allocations: 12.83 kB / 0.9045 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2314, allocations: 178.7 kB / 0.9046 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.2315, allocations: 38.25 kB / 0.9047 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2315, allocations: 4.375 kB / 0.9047 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.2317, allocations: 81.77 kB / 0.9047 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2318, allocations: 4 kB / 0.9047 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2318, allocations: 4 kB / 0.9048 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2318, allocations: 0 / 0.9048 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.232, allocations: 47.97 kB / 0.9048 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.2325, allocations: 332.5 kB / 0.9051 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.2327, allocations: 70.55 kB / 0.9052 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.2328, allocations: 40.83 kB / 0.9052 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2328, allocations: 16.12 kB / 0.9052 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.233, allocations: 107.3 kB / 0.9053 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.233, allocations: 0 / 0.9053 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004342/0.2335, allocations: 173.5 kB / 0.9055 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.2335, allocations: 51.41 kB / 0.9056 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.2336, allocations: 130.5 kB / 0.9057 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2336, allocations: 29.7 kB / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.2337, allocations: 96.36 kB / 0.9058 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2337, allocations: 15.72 kB / 0.9058 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.2337, allocations: 11.94 kB / 0.9058 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.2338, allocations: 322.8 kB / 0.9061 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.2339, allocations: 35.97 kB / 0.9062 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.234, allocations: 75.88 kB / 0.9062 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2342, allocations: 109 kB / 0.9063 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2342, allocations: 0 / 0.9063 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000271/0.2345, allocations: 145.4 kB / 0.9065 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2345, allocations: 4 kB / 0.9065 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2345, allocations: 4 kB / 0.9065 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2346, allocations: 3.984 kB / 0.9065 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2347, allocations: 15.98 kB / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2347, allocations: 7.938 kB / 0.9065 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2348, allocations: 27.95 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2348, allocations: 4 kB / 0.9065 GB, free: 58.29 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.221e-05/0.2349, allocations: 127.7 kB / 0.9067 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.2349, allocations: 7.906 kB / 0.9067 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.235, allocations: 16.7 kB / 0.9067 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.235, allocations: 0 / 0.9067 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.235, allocations: 0 / 0.9067 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.235, allocations: 4 kB / 0.9067 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.2355, allocations: 434.3 kB / 0.9071 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2355, allocations: 0 / 0.9071 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.2356, allocations: 15.92 kB / 0.9071 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2356, allocations: 4 kB / 0.9071 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2356, allocations: 3.984 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2356, allocations: 3.938 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2356, allocations: 0 / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.2359, allocations: 227.3 kB / 0.9074 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.236, allocations: 101.1 kB / 0.9075 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.236, allocations: 4 kB / 0.9075 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2361, allocations: 19.86 kB / 0.9075 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.2362, allocations: 11.98 kB / 0.9075 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.2362, allocations: 4 kB / 0.9075 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.2363, allocations: 100.2 kB / 0.9076 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2363, allocations: 0 / 0.9076 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003004/0.2366, allocations: 43.98 kB / 0.9076 GB, free: 57.09 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0003361/0.2369, allocations: 158.2 kB / 0.9078 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.2372, allocations: 99.88 kB / 0.9079 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2372, allocations: 0 / 0.9079 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.2374, allocations: 51.97 kB / 0.9079 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2377, allocations: 11.94 kB / 0.9079 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.2381, allocations: 269.9 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.2382, allocations: 0.6926 MB / 0.9089 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.2383, allocations: 15.42 kB / 0.9089 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2383, allocations: 0 / 0.9089 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.003375/0.2417, allocations: 1.86 MB / 0.9107 GB, free: 53.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)