Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001326/0.001326, allocations: 198.1 kB / 16.14 MB, free: 6.695 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 57.91 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3842, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002693/0.387, allocations: 1.572 MB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3883, allocations: 0.7557 MB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.3883, allocations: 4 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.3884, allocations: 7.922 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.779e-05/0.3885, allocations: 7.938 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.3889, allocations: 107.8 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.389, allocations: 83.69 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.3891, allocations: 11.98 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/0.3892, allocations: 35.84 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.3893, allocations: 39.83 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3893, allocations: 8 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3895, allocations: 95.84 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.3896, allocations: 15.92 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.3896, allocations: 31.8 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3898, allocations: 151.8 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3899, allocations: 3.984 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3899, allocations: 0 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3899, allocations: 0 / 1.07 GB, free: 8.027 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.0007215/0.3906, allocations: 458.6 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3906, allocations: 8.031 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.3907, allocations: 8.938 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3908, allocations: 184.1 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3909, allocations: 4.312 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3909, allocations: 4.375 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3911, allocations: 77.95 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3911, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3911, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3911, allocations: 4 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3913, allocations: 43.97 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.3918, allocations: 316.7 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.392, allocations: 66.55 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.3921, allocations: 36.84 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3921, allocations: 160 / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.3923, allocations: 99.38 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3923, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003889/0.3927, allocations: 157.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3928, allocations: 55.41 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3929, allocations: 133.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3929, allocations: 29.8 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.3929, allocations: 96.3 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.393, allocations: 19.72 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.393, allocations: 33.7 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3931, allocations: 330.7 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.3932, allocations: 19.98 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.515e-05/0.3933, allocations: 73.12 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3935, allocations: 101 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3935, allocations: 0 / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002254/0.3937, allocations: 133.5 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3938, allocations: 4 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3938, allocations: 4 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3938, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3939, allocations: 19.98 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3939, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.394, allocations: 27.98 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3941, allocations: 4 kB / 1.073 GB, free: 5.25 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 9.297e-05/0.3942, allocations: 127.2 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.3942, allocations: 7.906 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.3945, allocations: 145.9 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3945, allocations: 3.984 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3945, allocations: 7.938 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3945, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.3951, allocations: 418.3 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3951, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.3951, allocations: 15.92 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3951, allocations: 4 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3952, allocations: 4 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3952, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3952, allocations: 7.938 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3955, allocations: 227.3 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3955, allocations: 84.95 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.3955, allocations: 4 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3957, allocations: 11.98 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.3957, allocations: 11.92 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3957, allocations: 8 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.3958, allocations: 101.3 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3958, allocations: 3.938 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002917/0.3961, allocations: 43.98 kB / 1.074 GB, free: 3.934 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.0003178/0.3964, allocations: 158.5 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3967, allocations: 91.86 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3967, allocations: 0 / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3968, allocations: 43.92 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.3971, allocations: 19.98 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.3976, allocations: 225.6 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.398, allocations: 0.6965 MB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.064e-05/0.398, allocations: 12.44 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.3981, allocations: 15.42 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3981, allocations: 0 / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.004543/0.4026, allocations: 1.672 MB / 1.077 GB, free: 0.9648 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)