Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.359/2.359, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 181.8 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.594/2.594, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001725/0.001725, allocations: 102.4 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006415, allocations: 12.84 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2628, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001934/0.2647, allocations: 1.238 MB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2663, allocations: 0.7579 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.2664, allocations: 4 kB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.2665, allocations: 11.92 kB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2666, allocations: 15.91 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.2672, allocations: 91.75 kB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.2673, allocations: 67.84 kB / 0.901 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.2674, allocations: 8 kB / 0.901 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.2675, allocations: 51.78 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/0.2676, allocations: 39.81 kB / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2677, allocations: 4 kB / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.2679, allocations: 67.94 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.2679, allocations: 19.91 kB / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.268, allocations: 41.64 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.2682, allocations: 107.8 kB / 0.9013 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2682, allocations: 0 / 0.9013 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2682, allocations: 0 / 0.9013 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2683, allocations: 0 / 0.9013 GB, free: 63.42 MB / 0.6042 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.0008456/0.2691, allocations: 0.4922 MB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2692, allocations: 8.031 kB / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.2692, allocations: 19.77 kB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2694, allocations: 174.9 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2694, allocations: 7.938 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.2694, allocations: 15.94 kB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.2697, allocations: 77.64 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2697, allocations: 0 / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2698, allocations: 0 / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2698, allocations: 3.953 kB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.27, allocations: 55.95 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.2707, allocations: 340.7 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.271, allocations: 82.66 kB / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.271, allocations: 0 / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.2713, allocations: 107.3 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/0.2714, allocations: 0 / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006067/0.272, allocations: 181.5 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.2721, allocations: 51.41 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2722, allocations: 148.3 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2722, allocations: 29.7 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.2723, allocations: 100.1 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.2723, allocations: 27.8 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-06/0.2724, allocations: 0 / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.2724, allocations: 322.8 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.2726, allocations: 35.91 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.2727, allocations: 69.14 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2729, allocations: 39.97 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2729, allocations: 4 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003733/0.2733, allocations: 145.3 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2733, allocations: 4 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2733, allocations: 4 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2734, allocations: 0 / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.2736, allocations: 23.92 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2736, allocations: 11.98 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.2738, allocations: 12.09 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2738, allocations: 11.98 kB / 0.9038 GB, free: 60.6 MB / 0.6042 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.2739, allocations: 121.8 kB / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.2739, allocations: 11.86 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.2745, allocations: 186.2 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2745, allocations: 0 / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2745, allocations: 0 / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2745, allocations: 7.875 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.2753, allocations: 468.7 kB / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2753, allocations: 4 kB / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2755, allocations: 19.98 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.2755, allocations: 0 / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2755, allocations: 0 / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2756, allocations: 4 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2756, allocations: 0 / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.2761, allocations: 259.2 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.2761, allocations: 88.95 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.2762, allocations: 4 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2764, allocations: 11.98 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.2765, allocations: 15.98 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.2765, allocations: 4 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.2766, allocations: 107.2 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.81e-07/0.2766, allocations: 0 / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004238/0.277, allocations: 40 kB / 0.9051 GB, free: 59.17 MB / 0.6042 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004214/0.2775, allocations: 160.7 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.2778, allocations: 108 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2779, allocations: 0 / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.2781, allocations: 58.33 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.2784, allocations: 26.62 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.279, allocations: 267.1 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.2792, allocations: 0.7081 MB / 0.9064 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.514e-05/0.2793, allocations: 12.55 kB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.2794, allocations: 15.44 kB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/0.2794, allocations: 0 / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.006416/0.2858, allocations: 1.807 MB / 0.9082 GB, free: 55.98 MB / 0.6042 GB