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.374/1.374, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009394/0.0009392, allocations: 170.6 kB / 326.5 MB, free: 2.703 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.566/1.566, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007033/0.0007035, allocations: 87.81 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8.719 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2306, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001581/0.2322, allocations: 1.239 MB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.2335, allocations: 0.8156 MB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.2335, allocations: 0 / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.2336, allocations: 7.922 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.2337, allocations: 11.88 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.2341, allocations: 107.7 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2342, allocations: 83.77 kB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.2343, allocations: 11.92 kB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.2344, allocations: 39.84 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.2345, allocations: 35.84 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2345, allocations: 4 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2347, allocations: 91.84 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.2347, allocations: 23.89 kB / 0.8992 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.2348, allocations: 31.86 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.235, allocations: 107.8 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.235, allocations: 0 / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.235, allocations: 0 / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.235, allocations: 0 / 0.8993 GB, free: 65.56 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.0007377/0.2357, allocations: 470.5 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2358, allocations: 8.031 kB / 0.8997 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.2358, allocations: 12.84 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2359, allocations: 182.3 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.89e-05/0.236, allocations: 30.27 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.2361, allocations: 8.375 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.2363, allocations: 89.7 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2363, allocations: 0 / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2363, allocations: 4 kB / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2363, allocations: 0 / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.2365, allocations: 55.89 kB / 0.9001 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.237, allocations: 324.7 kB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.2372, allocations: 70.55 kB / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.2373, allocations: 44.83 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.2373, allocations: 4.234 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.2376, allocations: 103.3 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.2376, allocations: 0 / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004438/0.238, allocations: 177.5 kB / 0.9008 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2381, allocations: 51.41 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.2382, allocations: 130.1 kB / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2382, allocations: 29.7 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.2382, allocations: 92.31 kB / 0.9011 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.2383, allocations: 27.64 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.2383, allocations: 25.72 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.2383, allocations: 322.8 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.2384, allocations: 35.97 kB / 0.9015 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2386, allocations: 73.06 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.2388, allocations: 109 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2388, allocations: 4 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002562/0.239, allocations: 141.4 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2391, allocations: 7.984 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2391, allocations: 4 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2391, allocations: 384 / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2392, allocations: 24.05 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.2392, allocations: 4 kB / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2393, allocations: 15.89 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2394, allocations: 11.94 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 0.0001078/0.2395, allocations: 127.3 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.2395, allocations: 7.906 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.2395, allocations: 20.7 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2395, allocations: 0 / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2395, allocations: 0 / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2396, allocations: 0 / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.2401, allocations: 446.2 kB / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2401, allocations: 0 / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.2401, allocations: 7.984 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2402, allocations: 4 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2402, allocations: 3.984 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2402, allocations: 3.938 kB / 0.9025 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2402, allocations: 4 kB / 0.9025 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.2405, allocations: 231.3 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.2405, allocations: 89 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.2405, allocations: 0 / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.2407, allocations: 15.92 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.2407, allocations: 15.98 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.2408, allocations: 0 / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.2408, allocations: 112.7 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2408, allocations: 3.938 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002795/0.2411, allocations: 39.94 kB / 0.9029 GB, free: 61.44 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.0003066/0.2414, allocations: 168.8 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.2417, allocations: 99.88 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2417, allocations: 0 / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.2418, allocations: 51.91 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.2421, allocations: 8 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.2425, allocations: 251.5 kB / 0.9035 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2427, allocations: 0.6965 MB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.2427, allocations: 19.42 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2427, allocations: 0 / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.003099/0.2458, allocations: 1.851 MB / 0.906 GB, free: 58.26 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)