Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001782/0.001782, allocations: 80.55 kB / 19.95 MB, free: 4.605 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.001916/0.001916, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.621/1.621, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.269/3.269, allocations: 389.5 MB / 0.6343 GB, free: 12.61 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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.552e-06, allocations: 4 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/4.049e-05, allocations: 6.219 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003099/0.003139, allocations: 1.557 MB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004812, allocations: 0.7477 MB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.004881, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.004989, allocations: 19.86 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.005062, allocations: 19.73 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.005655, allocations: 139.5 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.005848, allocations: 111.5 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.005956, allocations: 9.594 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.006157, allocations: 67.86 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.006253, allocations: 43.88 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.006279, allocations: 8 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.006575, allocations: 139.6 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.006644, allocations: 35.84 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.006708, allocations: 35.84 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.007088, allocations: 223.3 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007091, allocations: 4 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.02e-07/0.007092, allocations: 0 / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.007096, allocations: 0 / 1.004 GB, free: 9.898 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.0009195/0.008015, allocations: 0.4915 MB / 1.005 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.008046, allocations: 17.33 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.008361, allocations: 40.78 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.008574, allocations: 154 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.008588, allocations: 12.38 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.008602, allocations: 4.375 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.008911, allocations: 213.9 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.008926, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.008934, allocations: 3.938 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-06/0.008937, allocations: 4 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.009162, allocations: 119.9 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.009716, allocations: 296.2 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.009999, allocations: 146.6 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.01017, allocations: 96.83 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.01019, allocations: 4 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.01055, allocations: 243.2 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=44): time 1.463e-06/0.01055, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.0008895/0.01144, allocations: 0.5613 MB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.01152, allocations: 91.38 kB / 1.007 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.01169, allocations: 176.5 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.01175, allocations: 53.69 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.01184, allocations: 97.14 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.01196, allocations: 115.2 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.0121, allocations: 102.2 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.01231, allocations: 354.7 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.0126, allocations: 177.1 kB / 1.008 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.01299, allocations: 272.9 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.01371, allocations: 0.5028 MB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01371, allocations: 0 / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008543/0.01456, allocations: 0.5335 MB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.01458, allocations: 8 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01459, allocations: 0 / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01461, allocations: 4.156 kB / 1.009 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.01477, allocations: 39.78 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.01478, allocations: 4 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.01493, allocations: 43.67 kB / 1.009 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.01495, allocations: 19.98 kB / 1.009 GB, free: 4.719 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.0002422/0.0152, allocations: 206.9 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.01523, allocations: 15.86 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.01599, allocations: 457.6 kB / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01599, allocations: 0 / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.01599, allocations: 0 / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01599, allocations: 0 / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.01706, allocations: 0.6828 MB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01706, allocations: 96 / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.01715, allocations: 15.98 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.01715, allocations: 3.984 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.01717, allocations: 4 kB / 1.01 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01718, allocations: 0 / 1.01 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01718, allocations: 0 / 1.01 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.01792, allocations: 0.5168 MB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.01795, allocations: 27.8 kB / 1.011 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.018, allocations: 39.92 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.01814, allocations: 15.97 kB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.0182, allocations: 15.92 kB / 1.011 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.01822, allocations: 4 kB / 1.011 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.471e-05/0.01831, allocations: 108.6 kB / 1.011 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01831, allocations: 0 / 1.011 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003664/0.01868, allocations: 59.94 kB / 1.011 GB, free: 2.492 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 (14): * Single equations (assignments): 11 * 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.000562/0.01924, allocations: 234 kB / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007053/0.01994, allocations: 360.4 kB / 1.012 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01995, allocations: 3.938 kB / 1.012 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.02015, allocations: 128.4 kB / 1.012 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.02048, allocations: 17.3 kB / 1.012 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.02128, allocations: 444.8 kB / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.02142, allocations: 132.9 kB / 1.012 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.603e-05/0.0215, allocations: 25.48 kB / 1.012 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.02156, allocations: 24.48 kB / 1.012 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.02157, allocations: 0 / 1.012 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of Templates: time 0.007262/0.02883, allocations: 2.746 MB / 1.015 GB, free: 14.43 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.112535987980664]