Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000797/0.0007968, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005167/0.005167, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 9.156 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.5052, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.00222/0.5074, allocations: 1.258 MB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.5092, allocations: 0.7596 MB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.5093, allocations: 0 / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.5093, allocations: 3.938 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.5095, allocations: 23.84 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.5103, allocations: 107.8 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.5106, allocations: 91.7 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.5108, allocations: 15.97 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.511, allocations: 47.78 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.5111, allocations: 35.83 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.5112, allocations: 4 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.5115, allocations: 95.84 kB / 1.077 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.5116, allocations: 23.91 kB / 1.077 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.5117, allocations: 61.48 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.5121, allocations: 155.8 kB / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5121, allocations: 0 / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5121, allocations: 0 / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5121, allocations: 0 / 1.077 GB, free: 4.859 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0013/0.5134, allocations: 0.4924 MB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.5135, allocations: 8.031 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/0.5136, allocations: 16.78 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.5139, allocations: 184.1 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.5139, allocations: 12.3 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.5139, allocations: 8.312 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.5143, allocations: 85.95 kB / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5143, allocations: 0 / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.5144, allocations: 7.984 kB / 1.078 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.5144, allocations: 4 kB / 1.078 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.5145, allocations: 47.97 kB / 1.078 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.5153, allocations: 340.7 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.5156, allocations: 78.67 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.5157, allocations: 44.83 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.5158, allocations: 3.984 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.5161, allocations: 107.3 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.5161, allocations: 0 / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004922/0.5166, allocations: 185.4 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.5166, allocations: 55.41 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.5168, allocations: 140.4 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.5169, allocations: 37.7 kB / 1.079 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.5169, allocations: 96.12 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.517, allocations: 23.66 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.517, allocations: 25.7 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5172, allocations: 326.8 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.5173, allocations: 27.98 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.5174, allocations: 77.06 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.5176, allocations: 105.1 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5176, allocations: 4 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002849/0.5179, allocations: 145.3 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.518, allocations: 4 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.518, allocations: 0 / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.518, allocations: 4 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5181, allocations: 19.92 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5181, allocations: 8.094 kB / 1.079 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.5183, allocations: 15.92 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.5183, allocations: 8 kB / 1.079 GB, free: 1.879 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.5184, allocations: 124.8 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.5185, allocations: 19.73 kB / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.5189, allocations: 184.8 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5189, allocations: 0 / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5189, allocations: 0 / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.5189, allocations: 3.984 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.5197, allocations: 486.1 kB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5197, allocations: 0 / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/0.5198, allocations: 12 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5198, allocations: 0 / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.5199, allocations: 7.984 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.5199, allocations: 0 / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5199, allocations: 3.938 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.5203, allocations: 255.3 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.5203, allocations: 85.02 kB / 1.08 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.5204, allocations: 0 / 1.08 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.5205, allocations: 11.98 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.5206, allocations: 19.92 kB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.5206, allocations: 7.984 kB / 1.081 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001224/0.5207, allocations: 104.8 kB / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5207, allocations: 4 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003856/0.5211, allocations: 47.98 kB / 1.081 GB, free: 436 kB / 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 (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 (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.0005243/0.5217, allocations: 158.5 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.522, allocations: 107.8 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.522, allocations: 0 / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.5222, allocations: 59.09 kB / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.5225, allocations: 17.67 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.5233, allocations: 275.4 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.5237, allocations: 0.7007 MB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.634e-05/0.5238, allocations: 20.53 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.5238, allocations: 15.44 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.5238, allocations: 0 / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.005986/0.5298, allocations: 1.858 MB / 1.084 GB, free: 13.18 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)