Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.35/3.35, allocations: 389.5 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.045e-05, allocations: 5.656 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002837/0.002868, allocations: 1.545 MB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.004319, allocations: 0.7206 MB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.004378, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.295e-05/0.004471, allocations: 15.86 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.004533, allocations: 15.81 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.005102, allocations: 155.2 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.005274, allocations: 103.6 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.215e-05/0.005356, allocations: 7.984 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.005536, allocations: 67.88 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.005617, allocations: 39.88 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.005643, allocations: 8 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.005923, allocations: 131.7 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.005988, allocations: 39.84 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.006049, allocations: 31.91 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.006394, allocations: 215.3 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006397, allocations: 0 / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.61e-07/0.006398, allocations: 0 / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.006403, allocations: 7.875 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009605/0.007363, allocations: 491.5 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.007401, allocations: 13.33 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.007722, allocations: 44.78 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.007957, allocations: 155.5 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.007973, allocations: 4.375 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.007991, allocations: 4.375 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.008317, allocations: 206.1 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.008325, allocations: 192 / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.00834, allocations: 8.359 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.008346, allocations: 3.938 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.008575, allocations: 123.9 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.009161, allocations: 300.2 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.009445, allocations: 134.5 kB / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.009609, allocations: 101 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.009635, allocations: 7.938 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.01001, allocations: 243.2 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=44): time 1.252e-06/0.01002, allocations: 4 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.0009306/0.01095, allocations: 0.5613 MB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.01103, allocations: 87.38 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.0112, allocations: 161.6 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.01126, allocations: 57.62 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.01133, allocations: 97.09 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.01145, allocations: 119.2 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.01159, allocations: 102.2 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.01179, allocations: 342.8 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.01209, allocations: 185.1 kB / 1.008 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.01245, allocations: 272.9 kB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.01317, allocations: 0.4989 MB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01317, allocations: 0 / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008236/0.014, allocations: 0.5336 MB / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.01402, allocations: 10.34 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.01402, allocations: 0 / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.01404, allocations: 4 kB / 1.009 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.01419, allocations: 35.84 kB / 1.009 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.0142, allocations: 4 kB / 1.009 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.01435, allocations: 43.66 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.01437, allocations: 16 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 77 (lig.state[33],$PRE.lig.state[33],lig.state[32],$PRE.lig.state[32],lig.state[31],$PRE.lig.state[31],lig.state[30],$PRE.lig.state[30],lig.state[29],$PRE.lig.state[29],lig.state[28],$PRE.lig.state[28],lig.state[27],$PRE.lig.state[27],lig.state[26],$PRE.lig.state[26],lig.state[25],$PRE.lig.state[25],lig.state[24],$PRE.lig.state[24],lig.state[23],$PRE.lig.state[23],lig.state[22],$PRE.lig.state[22],lig.state[21],$PRE.lig.state[21],lig.state[20],$PRE.lig.state[20],lig.state[19],$PRE.lig.state[19],lig.state[18],$PRE.lig.state[18],lig.state[17],$PRE.lig.state[17],lig.state[16],$PRE.lig.state[16],lig.state[15],$PRE.lig.state[15],lig.state[14],$PRE.lig.state[14],lig.state[13],$PRE.lig.state[13],lig.state[12],$PRE.lig.state[12],lig.state[11],$PRE.lig.state[11],lig.state[10],$PRE.lig.state[10],lig.state[9],$PRE.lig.state[9],lig.state[8],$PRE.lig.state[8],lig.state[7],$PRE.lig.state[7],lig.state[6],$PRE.lig.state[6],lig.state[5],$PRE.lig.state[5],lig.state[4],$PRE.lig.state[4],lig.state[3],$PRE.lig.state[3],lig.state[2],$PRE.lig.state[2],lig.state[1],$PRE.lig.state[1],lig.ran,$PRE.lig.ran,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 (49): * Single equations (assignments): 48 * Array equations: 1 * 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.0002386/0.01461, allocations: 207.2 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.01464, allocations: 23.73 kB / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/0.01535, allocations: 444.1 kB / 1.01 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01535, allocations: 4 kB / 1.01 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01536, allocations: 0 / 1.01 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01536, allocations: 3.984 kB / 1.01 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000998/0.01636, allocations: 0.6614 MB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01636, allocations: 0 / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/0.01645, allocations: 19.98 kB / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01645, allocations: 0 / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.01647, allocations: 4 kB / 1.01 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01647, allocations: 0 / 1.01 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01647, allocations: 4 kB / 1.01 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.01714, allocations: 0.5106 MB / 1.011 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.01717, allocations: 23.8 kB / 1.011 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.01722, allocations: 31.98 kB / 1.011 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.01736, allocations: 11.98 kB / 1.011 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.01741, allocations: 15.97 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.01743, allocations: 4 kB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.489e-05/0.01752, allocations: 107.3 kB / 1.011 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01752, allocations: 0 / 1.011 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003433/0.01786, allocations: 63.86 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.state[1],lig.state[2],lig.state[3],lig.state[4],lig.state[5],lig.state[6],lig.state[7],lig.state[8],lig.state[9],lig.state[10],lig.state[11],lig.state[12],lig.state[13],lig.state[14],lig.state[15],lig.state[16],lig.state[17],lig.state[18],lig.state[19],lig.state[20],lig.state[21],lig.state[22],lig.state[23],lig.state[24],lig.state[25],lig.state[26],lig.state[27],lig.state[28],lig.state[29],lig.state[30],lig.state[31],lig.state[32],lig.state[33],lig.ran,booleanPulse.pulseStart) * Number of discrete states: 34 (lig.state[1],lig.state[2],lig.state[3],lig.state[4],lig.state[5],lig.state[6],lig.state[7],lig.state[8],lig.state[9],lig.state[10],lig.state[11],lig.state[12],lig.state[13],lig.state[14],lig.state[15],lig.state[16],lig.state[17],lig.state[18],lig.state[19],lig.state[20],lig.state[21],lig.state[22],lig.state[23],lig.state[24],lig.state[25],lig.state[26],lig.state[27],lig.state[28],lig.state[29],lig.state[30],lig.state[31],lig.state[32],lig.state[33],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.0005478/0.01841, allocations: 224.4 kB / 1.011 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00071/0.01912, allocations: 364.6 kB / 1.012 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01912, allocations: 0 / 1.012 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.01932, allocations: 120.3 kB / 1.012 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.01966, allocations: 15.98 kB / 1.012 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.02039, allocations: 422.3 kB / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.02055, allocations: 132.6 kB / 1.012 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.013e-05/0.02062, allocations: 25.47 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.02068, allocations: 20.5 kB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of SimCode: time 3.21e-07/0.02068, allocations: 0 / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of Templates: time 0.006973/0.02765, allocations: 2.681 MB / 1.015 GB, free: 14.63 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.152536538429558]