Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008397/0.0008399, allocations: 91.22 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.005686/0.005686, allocations: 172.7 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 8.438 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3969, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001915/0.3988, allocations: 1.262 MB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.4001, allocations: 0.7557 MB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.4002, allocations: 4 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.4002, allocations: 7.922 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.4003, allocations: 11.86 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.4008, allocations: 111.8 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.401, allocations: 95.64 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.4011, allocations: 19.97 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.4012, allocations: 35.86 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.4013, allocations: 43.81 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4013, allocations: 4 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.4015, allocations: 91.84 kB / 1.077 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.4015, allocations: 23.91 kB / 1.077 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.4016, allocations: 61.5 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.4018, allocations: 163.8 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4018, allocations: 0 / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4019, allocations: 3.984 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4019, allocations: 0 / 1.077 GB, free: 4.824 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.0008058/0.4027, allocations: 492.3 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4027, allocations: 12.03 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.4028, allocations: 12.84 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.4029, allocations: 188.1 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.403, allocations: 4.312 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.403, allocations: 8.375 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.4032, allocations: 81.95 kB / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4032, allocations: 0 / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.4032, allocations: 4 kB / 1.078 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4032, allocations: 0 / 1.078 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.4034, allocations: 67.88 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.404, allocations: 332.7 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.4042, allocations: 90.7 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.284e-05/0.4043, allocations: 36.84 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.4043, allocations: 4 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.4046, allocations: 99.34 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.4046, allocations: 4 kB / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004247/0.405, allocations: 185.3 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.4051, allocations: 55.34 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.4052, allocations: 151.7 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4053, allocations: 25.7 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4054, allocations: 96.14 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.4054, allocations: 35.62 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.4054, allocations: 17.72 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4056, allocations: 326.8 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.4057, allocations: 27.98 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.4058, allocations: 75.09 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.406, allocations: 105.1 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.406, allocations: 4 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002544/0.4063, allocations: 145.3 kB / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4063, allocations: 4 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4063, allocations: 4 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4063, allocations: 3.938 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4064, allocations: 19.98 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4065, allocations: 0 / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.4066, allocations: 28.02 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4066, allocations: 4 kB / 1.079 GB, free: 1.855 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.0001161/0.4067, allocations: 129.7 kB / 1.079 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.4067, allocations: 15.81 kB / 1.08 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.4071, allocations: 174 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4071, allocations: 8 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4071, allocations: 0 / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4072, allocations: 0 / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000653/0.4078, allocations: 474.1 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4078, allocations: 4 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.4079, allocations: 15.98 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4079, allocations: 4 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4079, allocations: 4 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4079, allocations: 3.938 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4079, allocations: 3.938 kB / 1.08 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.4083, allocations: 243.4 kB / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.4084, allocations: 93 kB / 1.08 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.4084, allocations: 0 / 1.08 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4085, allocations: 15.98 kB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.4086, allocations: 19.92 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4086, allocations: 4 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.4087, allocations: 108.6 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4087, allocations: 0 / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003199/0.409, allocations: 44 kB / 1.081 GB, free: 424 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.0003307/0.4093, allocations: 167.2 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.4096, allocations: 91.89 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4096, allocations: 4.188 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4097, allocations: 63.91 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.41, allocations: 17.53 kB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.4106, allocations: 275.1 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.4109, allocations: 0.6965 MB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.228e-05/0.411, allocations: 16.81 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.411, allocations: 19.44 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.411, allocations: 0 / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.004931/0.416, allocations: 1.868 MB / 1.084 GB, free: 13.17 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)