Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001927/0.001927, allocations: 193.5 kB / 16.14 MB, free: 6.734 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 58.44 kB / 0.9113 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3961, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003018/0.3992, allocations: 1.562 MB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.4006, allocations: 0.7673 MB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.4007, allocations: 4 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.4007, allocations: 3.938 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.4008, allocations: 7.922 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.4013, allocations: 107.8 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.4014, allocations: 87.69 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.4015, allocations: 7.984 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4017, allocations: 35.86 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.4017, allocations: 43.81 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.4018, allocations: 4 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.4019, allocations: 91.84 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.402, allocations: 19.92 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.4021, allocations: 31.86 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.4023, allocations: 147.8 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4023, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4023, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.4023, allocations: 0 / 1.07 GB, free: 8.02 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.0007976/0.4031, allocations: 464.3 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4032, allocations: 8.031 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.4032, allocations: 8.938 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4034, allocations: 184.1 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4034, allocations: 4.375 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.4034, allocations: 4.375 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.4036, allocations: 77.91 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4037, allocations: 3.984 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4037, allocations: 3.984 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4037, allocations: 4 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.4038, allocations: 39.97 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.4044, allocations: 320.7 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4046, allocations: 70.48 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.969e-05/0.4047, allocations: 32.84 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4047, allocations: 160 / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.405, allocations: 103.4 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.405, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004068/0.4054, allocations: 157.5 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.4054, allocations: 55.41 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4056, allocations: 133.7 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.4056, allocations: 25.7 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.4057, allocations: 96.38 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.4057, allocations: 23.7 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.4057, allocations: 33.64 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4059, allocations: 322.8 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.4059, allocations: 27.97 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.406, allocations: 65.14 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.4062, allocations: 101 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4062, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.4065, allocations: 137.4 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4065, allocations: 4 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4065, allocations: 4 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4065, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.4066, allocations: 15.98 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4066, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.4068, allocations: 15.92 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.4068, allocations: 8.125 kB / 1.073 GB, free: 5.242 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 0.000102/0.4069, allocations: 129.7 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.4069, allocations: 7.906 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.4072, allocations: 142 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4072, allocations: 4.312 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4072, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4072, allocations: 96 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.4078, allocations: 442.3 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4078, allocations: 3.938 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.4079, allocations: 11.94 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4079, allocations: 4 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4079, allocations: 3.984 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4079, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4079, allocations: 3.938 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.4082, allocations: 235.3 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.4082, allocations: 84.95 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4083, allocations: 4 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.4084, allocations: 7.984 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.4085, allocations: 15.92 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4085, allocations: 4 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.4085, allocations: 98.39 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4086, allocations: 4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000305/0.4089, allocations: 47.98 kB / 1.074 GB, free: 3.91 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 (12): * Single equations (assignments): 9 * 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.0003507/0.4092, allocations: 159 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.4095, allocations: 88.02 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4095, allocations: 0 / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.4096, allocations: 47.92 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.4099, allocations: 19.92 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.4104, allocations: 229.4 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4106, allocations: 0.6926 MB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.88e-05/0.4107, allocations: 12.42 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.4107, allocations: 11.44 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4107, allocations: 4 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of Templates: time 0.005935/0.4167, allocations: 1.673 MB / 1.077 GB, free: 0.9453 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)