Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 188.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 61.06 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3296, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003468/0.3332, allocations: 1.58 MB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3345, allocations: 0.7595 MB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.3346, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.3346, allocations: 3.938 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.936e-05/0.3347, allocations: 15.84 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.3354, allocations: 107.8 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3356, allocations: 91.7 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3357, allocations: 15.98 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3358, allocations: 43.89 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.3359, allocations: 35.78 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3359, allocations: 8 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3361, allocations: 95.91 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.3362, allocations: 23.91 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.3362, allocations: 43.78 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3365, allocations: 147.8 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3365, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3365, allocations: 4 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3366, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8262 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.0008434/0.3374, allocations: 478.5 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3375, allocations: 8.031 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3375, allocations: 8.844 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3377, allocations: 184.2 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.3378, allocations: 34.25 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3378, allocations: 12.38 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.338, allocations: 77.7 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.338, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3381, allocations: 8 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3381, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.3383, allocations: 43.95 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.3388, allocations: 328.7 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.339, allocations: 74.56 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3391, allocations: 40.78 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3392, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.3394, allocations: 95.34 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.3394, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004565/0.3399, allocations: 165.5 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3399, allocations: 59.41 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.34, allocations: 134 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3401, allocations: 29.7 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.3401, allocations: 92.38 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3401, allocations: 27.64 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.3402, allocations: 29.7 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.3403, allocations: 322.8 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3404, allocations: 31.97 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3405, allocations: 73.12 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.3408, allocations: 101.1 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3408, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002807/0.3411, allocations: 137.5 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3411, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3411, allocations: 7.984 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3411, allocations: 4.125 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3412, allocations: 23.92 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3413, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3414, allocations: 15.89 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3414, allocations: 4 kB / 1.073 GB, free: 4.895 MB / 0.8262 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 9.087e-05/0.3415, allocations: 132 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.3415, allocations: 11.89 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3415, allocations: 20.66 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3416, allocations: 0 / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3416, allocations: 384 / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3416, allocations: 0 / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005694/0.3421, allocations: 438.3 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3422, allocations: 0 / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.366e-05/0.3422, allocations: 7.984 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3422, allocations: 8 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3423, allocations: 8 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3423, allocations: 3.938 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3423, allocations: 0 / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.3426, allocations: 227.3 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.3427, allocations: 85.02 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3427, allocations: 4 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3428, allocations: 15.92 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.3429, allocations: 11.98 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3429, allocations: 4 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.343, allocations: 108.5 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.343, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002997/0.3433, allocations: 40 kB / 1.074 GB, free: 3.691 MB / 0.8262 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.0003112/0.3436, allocations: 164.6 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.3439, allocations: 95.91 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3439, allocations: 0 / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3441, allocations: 52.22 kB / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3443, allocations: 7.984 kB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.3448, allocations: 227.6 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.3451, allocations: 0.6925 MB / 1.075 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.516e-05/0.3451, allocations: 16.64 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3452, allocations: 15.38 kB / 1.075 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3452, allocations: 4 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of Templates: time 0.004363/0.3496, allocations: 1.72 MB / 1.077 GB, free: 0.6719 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)