Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00102/0.00102, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008707/0.008708, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 6.75 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3813, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001746/0.3831, allocations: 1.235 MB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3844, allocations: 0.744 MB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.3845, allocations: 4 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.3845, allocations: 0 / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.3846, allocations: 19.84 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.3851, allocations: 103.8 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.3852, allocations: 75.78 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.3853, allocations: 15.91 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.3854, allocations: 43.84 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.3855, allocations: 31.84 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3855, allocations: 4 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.3857, allocations: 87.91 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.3858, allocations: 19.91 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.3858, allocations: 57.55 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.386, allocations: 143.8 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3861, allocations: 0 / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3861, allocations: 0 / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.3861, allocations: 4 kB / 1.077 GB, free: 4.934 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.0006991/0.3868, allocations: 454.7 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3868, allocations: 12.03 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.3869, allocations: 8.844 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.387, allocations: 172.2 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3871, allocations: 8.375 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3871, allocations: 8.375 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3873, allocations: 85.89 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3873, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3873, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3873, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.3875, allocations: 51.91 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.3881, allocations: 336.5 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3882, allocations: 62.56 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.3883, allocations: 32.84 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3883, allocations: 4 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.3886, allocations: 99.38 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.3886, allocations: 0 / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004158/0.389, allocations: 161.5 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3891, allocations: 55.41 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3892, allocations: 129.8 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3892, allocations: 29.7 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.3893, allocations: 92.36 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.3893, allocations: 23.86 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.3893, allocations: 21.7 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3895, allocations: 322.8 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.3895, allocations: 35.97 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.3896, allocations: 61.14 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.3899, allocations: 109 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3899, allocations: 0 / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002382/0.3901, allocations: 137.4 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3902, allocations: 12.06 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3902, allocations: 0 / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3902, allocations: 4 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3903, allocations: 15.98 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3903, allocations: 0 / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3904, allocations: 27.77 kB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.3905, allocations: 8 kB / 1.079 GB, free: 2.129 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 0.0001057/0.3906, allocations: 126.1 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.3906, allocations: 7.906 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.3909, allocations: 146 kB / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3909, allocations: 4 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3909, allocations: 3.938 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.391, allocations: 0 / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.3915, allocations: 438.3 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3915, allocations: 0 / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.3916, allocations: 8 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3916, allocations: 0 / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3916, allocations: 7.984 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3916, allocations: 3.938 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3916, allocations: 7.938 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.3919, allocations: 231.3 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.392, allocations: 92.94 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.392, allocations: 0 / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.3922, allocations: 15.98 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3922, allocations: 15.92 kB / 1.08 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3922, allocations: 8 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.706e-05/0.3923, allocations: 98.39 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3923, allocations: 0 / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003188/0.3926, allocations: 47.98 kB / 1.08 GB, free: 0.7891 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.0003651/0.393, allocations: 167 kB / 1.08 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3932, allocations: 83.89 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3932, allocations: 7.938 kB / 1.081 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3934, allocations: 43.98 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3937, allocations: 29.52 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.3942, allocations: 227.1 kB / 1.081 GB, free: 224 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3945, allocations: 0.6965 MB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.3946, allocations: 8.422 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3946, allocations: 19.44 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3946, allocations: 0 / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.004636/0.3993, allocations: 1.655 MB / 1.083 GB, free: 13.82 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)