Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008606, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005465/0.005465, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 252 MB / 0.5105 GB, free: 4.609 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004991, allocations: 16 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5093, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001673/0.511, allocations: 1.246 MB / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.5123, allocations: 0.7837 MB / 0.7307 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.5124, allocations: 4 kB / 0.7307 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.5125, allocations: 11.86 kB / 0.7307 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.5126, allocations: 15.8 kB / 0.7307 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.5131, allocations: 111.8 kB / 0.7308 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.5133, allocations: 91.77 kB / 0.7309 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.5134, allocations: 11.98 kB / 0.7309 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.5135, allocations: 39.83 kB / 0.731 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.5136, allocations: 47.77 kB / 0.731 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.5136, allocations: 4 kB / 0.731 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.5138, allocations: 83.92 kB / 0.7311 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.5138, allocations: 23.89 kB / 0.7311 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.5139, allocations: 65.5 kB / 0.7312 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.5142, allocations: 157.5 kB / 0.7313 GB, free: 8.566 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5142, allocations: 0 / 0.7313 GB, free: 8.566 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5142, allocations: 0 / 0.7313 GB, free: 8.566 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.5142, allocations: 0 / 0.7313 GB, free: 8.566 MB / 0.545 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.0008049/0.515, allocations: 484.3 kB / 0.7318 GB, free: 8.027 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5151, allocations: 19.97 kB / 0.7318 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.5151, allocations: 8.844 kB / 0.7318 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.5153, allocations: 179.5 kB / 0.732 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.5153, allocations: 12.36 kB / 0.732 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.5154, allocations: 4.375 kB / 0.732 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.5156, allocations: 85.89 kB / 0.7321 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.5156, allocations: 0 / 0.7321 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.5156, allocations: 4 kB / 0.7321 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5157, allocations: 4 kB / 0.7321 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.5158, allocations: 51.97 kB / 0.7321 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.5165, allocations: 340.6 kB / 0.7325 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.5168, allocations: 86.7 kB / 0.7326 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.5169, allocations: 40.84 kB / 0.7326 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.5169, allocations: 4 kB / 0.7326 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.5172, allocations: 103.3 kB / 0.7327 GB, free: 6.988 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.5172, allocations: 0 / 0.7327 GB, free: 6.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004934/0.5177, allocations: 185.4 kB / 0.7329 GB, free: 6.801 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.5178, allocations: 59.39 kB / 0.7329 GB, free: 6.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.5179, allocations: 130.1 kB / 0.7331 GB, free: 6.594 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.5179, allocations: 25.7 kB / 0.7331 GB, free: 6.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.518, allocations: 104 kB / 0.7332 GB, free: 6.457 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.5181, allocations: 31.58 kB / 0.7332 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.5181, allocations: 21.72 kB / 0.7332 GB, free: 6.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5182, allocations: 326.8 kB / 0.7335 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.5183, allocations: 27.98 kB / 0.7336 GB, free: 6.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.5185, allocations: 77.12 kB / 0.7336 GB, free: 5.949 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.5187, allocations: 109 kB / 0.7337 GB, free: 5.824 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5187, allocations: 0 / 0.7337 GB, free: 5.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003019/0.519, allocations: 145.4 kB / 0.7339 GB, free: 5.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.519, allocations: 4 kB / 0.7339 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5191, allocations: 0 / 0.7339 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5191, allocations: 7.984 kB / 0.7339 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5192, allocations: 16 kB / 0.7339 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.5192, allocations: 11.92 kB / 0.7339 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.5194, allocations: 16 kB / 0.7339 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.5194, allocations: 4 kB / 0.7339 GB, free: 5.617 MB / 0.545 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 0.0001505/0.5195, allocations: 135.5 kB / 0.7341 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.5196, allocations: 7.906 kB / 0.7341 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.5199, allocations: 166.3 kB / 0.7342 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.52, allocations: 8 kB / 0.7342 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.52, allocations: 0 / 0.7342 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.52, allocations: 3.938 kB / 0.7342 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007515/0.5207, allocations: 449.3 kB / 0.7347 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5208, allocations: 0 / 0.7347 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.5208, allocations: 27.92 kB / 0.7347 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5209, allocations: 0 / 0.7347 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5209, allocations: 0 / 0.7347 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5209, allocations: 0 / 0.7347 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.5209, allocations: 7.938 kB / 0.7347 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.5213, allocations: 247.3 kB / 0.7349 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.5213, allocations: 89.02 kB / 0.735 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.5213, allocations: 0 / 0.735 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.5215, allocations: 15.98 kB / 0.735 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.5216, allocations: 15.92 kB / 0.7351 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.5216, allocations: 7.984 kB / 0.7351 GB, free: 4.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.048e-05/0.5217, allocations: 110.2 kB / 0.7352 GB, free: 4.254 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5217, allocations: 0 / 0.7352 GB, free: 4.254 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003477/0.522, allocations: 40 kB / 0.7352 GB, free: 4.215 MB / 0.545 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 (13): * Single equations (assignments): 10 * 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.0004152/0.5224, allocations: 167.1 kB / 0.7354 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.5227, allocations: 95.89 kB / 0.7355 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5227, allocations: 4.188 kB / 0.7355 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.5229, allocations: 55.91 kB / 0.7355 GB, free: 3.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.5232, allocations: 22.55 kB / 0.7355 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.5238, allocations: 255.4 kB / 0.7358 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.5242, allocations: 0.7004 MB / 0.7365 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.5243, allocations: 4.438 kB / 0.7365 GB, free: 2.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.5243, allocations: 27.42 kB / 0.7365 GB, free: 2.848 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.5243, allocations: 0 / 0.7365 GB, free: 2.848 MB / 0.545 GB Notification: Performance of Templates: time 0.004806/0.5291, allocations: 1.803 MB / 0.7383 GB, free: 1.055 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) Environment - environmentSimulation: