Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.697/2.697, allocations: 285 MB / 292.5 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 192.8 kB / 360.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.3 MB / 0.6192 GB, free: 12.09 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 101.8 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.286e-05, allocations: 0 / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8707, allocations: 115.3 MB / 0.9634 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/1.134, allocations: 139.3 MB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/1.135, allocations: 82.86 kB / 1.1 GB, free: 1.043 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01501/1.15, allocations: 3.119 MB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.382e-06/1.15, allocations: 1.469 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.15, allocations: 4 kB / 1.103 GB, free: 13.98 MB / 0.7136 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.0008695/1.151, allocations: 475.2 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.151, allocations: 8.031 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/1.151, allocations: 11.34 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/1.151, allocations: 178.9 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-05/1.151, allocations: 34.31 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/1.151, allocations: 9.469 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001445/1.151, allocations: 27.94 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/1.152, allocations: 61.66 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.152, allocations: 0.875 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/1.152, allocations: 4 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.152, allocations: 5.969 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/1.152, allocations: 304.2 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/1.153, allocations: 58.59 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/1.153, allocations: 28.86 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/1.153, allocations: 3.531 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/1.153, allocations: 83.36 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/1.153, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003668/1.153, allocations: 113.1 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/1.153, allocations: 55.41 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/1.154, allocations: 122.4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/1.154, allocations: 33.7 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/1.154, allocations: 92.36 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/1.154, allocations: 23.66 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/1.154, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.154, allocations: 318.8 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/1.154, allocations: 20 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/1.154, allocations: 69.08 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.076e-05/1.154, allocations: 19.98 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.154, allocations: 0 / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002723/1.155, allocations: 104.6 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.155, allocations: 8 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.155, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.155, allocations: 12.06 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/1.155, allocations: 19.97 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/1.155, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/1.155, allocations: 19.92 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.155, allocations: 7.953 kB / 1.105 GB, free: 11.47 MB / 0.7136 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.155, allocations: 116.7 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/1.155, allocations: 11.91 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/1.155, allocations: 8.625 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.155, allocations: 4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.155, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.155, allocations: 3.984 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/1.156, allocations: 379 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.156, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/1.156, allocations: 17.2 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.156, allocations: 0 / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.156, allocations: 0 / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.156, allocations: 10.3 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.156, allocations: 0 / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/1.157, allocations: 206.4 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/1.157, allocations: 85 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/1.157, allocations: 8 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/1.157, allocations: 11.98 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/1.157, allocations: 11.98 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/1.157, allocations: 4 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.983e-05/1.157, allocations: 104.3 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.166e-06/1.157, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004969/1.158, allocations: 55.81 kB / 1.106 GB, free: 10.38 MB / 0.7136 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0005387/1.158, allocations: 176 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002337/1.159, allocations: 63.92 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.159, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/1.159, allocations: 35.94 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/1.159, allocations: 18.36 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/1.16, allocations: 114.8 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/1.16, allocations: 0.6963 MB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.999e-05/1.16, allocations: 12.66 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/1.16, allocations: 11.44 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/1.16, allocations: 5.125 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of Templates: time 0.006734/1.167, allocations: 1.758 MB / 1.109 GB, free: 7.508 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)