Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 195 kB / 16.53 MB, free: 6.699 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 70.69 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.379, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002781/0.3818, allocations: 1.509 MB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3831, allocations: 0.7672 MB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.3832, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.3832, allocations: 7.875 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.3833, allocations: 15.84 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.3838, allocations: 131.6 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.384, allocations: 87.7 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.3841, allocations: 11.98 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.3842, allocations: 43.83 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.3843, allocations: 35.84 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3843, allocations: 8 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.3845, allocations: 95.84 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.3845, allocations: 19.92 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.3846, allocations: 43.83 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3848, allocations: 143.9 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3848, allocations: 0 / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3848, allocations: 0 / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3848, allocations: 0 / 1.071 GB, free: 7.57 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.0007149/0.3855, allocations: 462.5 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3856, allocations: 8.031 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3856, allocations: 4.938 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3858, allocations: 188.1 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3858, allocations: 8.312 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3858, allocations: 4.375 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.386, allocations: 77.95 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.386, allocations: 0 / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3861, allocations: 0 / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3861, allocations: 0 / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.3862, allocations: 43.97 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.3868, allocations: 324.6 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3869, allocations: 70.53 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/0.387, allocations: 28.84 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.387, allocations: 7.984 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.3873, allocations: 99.39 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3873, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003965/0.3877, allocations: 149.5 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3877, allocations: 59.41 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3878, allocations: 125.7 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3879, allocations: 33.7 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.3879, allocations: 92.36 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.388, allocations: 19.72 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.388, allocations: 33.7 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3882, allocations: 322.8 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.3882, allocations: 28.36 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3884, allocations: 73.12 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3885, allocations: 97.02 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3885, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002385/0.3888, allocations: 137.4 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3888, allocations: 9.344 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3888, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3888, allocations: 8 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.389, allocations: 15.98 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.389, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3891, allocations: 23.86 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3891, allocations: 4 kB / 1.073 GB, free: 4.789 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 8.752e-05/0.3892, allocations: 128.8 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3892, allocations: 11.91 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.3896, allocations: 145.9 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3896, allocations: 4 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3896, allocations: 0 / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3896, allocations: 0 / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.3901, allocations: 430.4 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3902, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.3902, allocations: 15.92 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3902, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3903, allocations: 4 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3903, allocations: 0 / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3903, allocations: 3.938 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.3906, allocations: 231.3 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.3906, allocations: 88.95 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3906, allocations: 0 / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3908, allocations: 16.08 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.3908, allocations: 15.91 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3908, allocations: 7.984 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.912e-05/0.3909, allocations: 106.8 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3909, allocations: 3.938 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003197/0.3912, allocations: 40 kB / 1.075 GB, free: 3.461 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.0003788/0.3916, allocations: 158.6 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.3919, allocations: 87.83 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3919, allocations: 4.25 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3921, allocations: 51.91 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.3924, allocations: 17.25 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.3929, allocations: 207.5 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3932, allocations: 0.6963 MB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.825e-05/0.3932, allocations: 16.36 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.3933, allocations: 19.42 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3933, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of Templates: time 0.004831/0.3981, allocations: 1.793 MB / 1.078 GB, free: 392 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)