Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.172/5.172, allocations: 0.5623 GB / 0.5769 GB, free: 3.395 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003994/0.003993, allocations: 355.7 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.147/4.147, allocations: 410.7 MB / 1.112 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001796, allocations: 187.9 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005157, allocations: 12 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5878/0.5884, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001446/0.5899, allocations: 1.24 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.5911, allocations: 0.7565 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.5912, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.5912, allocations: 3.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.5913, allocations: 15.86 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.5917, allocations: 100.4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.5919, allocations: 91.69 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.592, allocations: 9.531 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.5921, allocations: 41.69 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.5922, allocations: 39.83 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.5922, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.5924, allocations: 87.84 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.5924, allocations: 15.92 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.5925, allocations: 38.25 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.5927, allocations: 116.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.163e-06/0.5927, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5927, allocations: 3.938 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.857e-06/0.5927, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 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.0006947/0.5934, allocations: 0.4969 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5935, allocations: 12.78 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.5935, allocations: 11.86 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.5936, allocations: 174.9 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.5937, allocations: 5.094 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.5937, allocations: 14.05 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.5939, allocations: 82.08 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.594, allocations: 1.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.594, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-06/0.594, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.5942, allocations: 52.55 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.5948, allocations: 340 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.5951, allocations: 83.73 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.5952, allocations: 46.39 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.5953, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.5955, allocations: 108.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 3.919e-06/0.5955, allocations: 1.062 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0005412/0.5961, allocations: 175.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.5961, allocations: 59.39 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5963, allocations: 141.9 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.5963, allocations: 30.58 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.5963, allocations: 96.12 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.5964, allocations: 32.42 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-06/0.5964, allocations: 4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.5965, allocations: 319.5 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.5966, allocations: 33.45 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.5967, allocations: 76.03 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.5968, allocations: 41.33 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5969, allocations: 0.5625 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003159/0.5972, allocations: 143 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5972, allocations: 4.656 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.378e-06/0.5972, allocations: 1.453 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.5973, allocations: 4.75 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.5974, allocations: 19.98 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.028e-06/0.5974, allocations: 4.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.5976, allocations: 17.23 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.5976, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 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.0001001/0.5977, allocations: 135 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.5978, allocations: 14.52 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.5982, allocations: 170.3 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.5983, allocations: 3.938 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.748e-06/0.5983, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5983, allocations: 1.5 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.599, allocations: 468.3 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.076e-06/0.5991, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.5992, allocations: 24.77 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.006e-06/0.5992, allocations: 1.078 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5992, allocations: 1.375 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.676e-06/0.5992, allocations: 4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.751e-06/0.5993, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.5996, allocations: 244.9 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.5997, allocations: 101.8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.5998, allocations: 8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.5999, allocations: 13.23 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.6, allocations: 16.48 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.6001, allocations: 7.938 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.338e-05/0.6002, allocations: 109.1 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.84e-07/0.6002, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004311/0.6006, allocations: 40 kB / 1.467 GB, free: 277.6 MB / 0.8542 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.0003732/0.601, allocations: 169.4 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.6013, allocations: 98.7 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.199e-06/0.6014, allocations: 0.625 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.6015, allocations: 56.84 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.602, allocations: 27.45 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.6025, allocations: 261.4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.6027, allocations: 0.7018 MB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.533e-05/0.6028, allocations: 13.92 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.6028, allocations: 11.44 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.101e-06/0.6028, allocations: 0 / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.005518/0.6084, allocations: 1.811 MB / 1.47 GB, free: 274.5 MB / 0.8542 GB