Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3/3, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 172.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001118, allocations: 93.48 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.718e-05, allocations: 0 / 0.8508 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.9236, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/1.2, allocations: 139.4 MB / 1.1 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004607/1.201, allocations: 81.58 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB [/home/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.02345/1.224, allocations: 3.293 MB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.395e-06/1.224, allocations: 0.8438 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.224, allocations: 4 kB / 1.103 GB, free: 13.66 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001255/1.226, allocations: 0.4914 MB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/1.226, allocations: 12.03 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/1.226, allocations: 13.53 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/1.226, allocations: 180.5 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/1.226, allocations: 1.078 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/1.226, allocations: 4 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002492/1.226, allocations: 44.69 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/1.227, allocations: 69.66 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.227, allocations: 3.375 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/1.227, allocations: 0 / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/1.227, allocations: 0 / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/1.228, allocations: 314.8 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/1.228, allocations: 76.09 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/1.229, allocations: 33.92 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/1.229, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/1.229, allocations: 95.3 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 3.166e-06/1.229, allocations: 0 / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0006889/1.23, allocations: 132.4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/1.23, allocations: 51.41 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/1.23, allocations: 127.3 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/1.23, allocations: 29.7 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/1.23, allocations: 96.12 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/1.23, allocations: 19.66 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/1.23, allocations: 8 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.23, allocations: 322.8 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/1.231, allocations: 20 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/1.231, allocations: 57.98 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/1.231, allocations: 32.64 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.231, allocations: 7.875 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004703/1.232, allocations: 109.5 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/1.232, allocations: 4 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.232, allocations: 4 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/1.232, allocations: 0 / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/1.232, allocations: 27.86 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.232, allocations: 5.406 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/1.232, allocations: 16 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/1.232, allocations: 11.98 kB / 1.105 GB, free: 11.07 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000169/1.233, allocations: 110.6 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005453/1.233, allocations: 125.5 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/1.233, allocations: 7.906 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/1.234, allocations: 155.4 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.234, allocations: 6.688 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.234, allocations: 0 / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.234, allocations: 0 / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/1.235, allocations: 423 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.236, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/1.236, allocations: 19.94 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.236, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/1.236, allocations: 8 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/1.236, allocations: 5.016 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.236, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/1.236, allocations: 234.3 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/1.236, allocations: 85 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/1.236, allocations: 7.953 kB / 1.106 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/1.237, allocations: 15.98 kB / 1.106 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/1.237, allocations: 11.98 kB / 1.106 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/1.237, allocations: 11.98 kB / 1.106 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.857e-05/1.237, allocations: 95.28 kB / 1.106 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.237, allocations: 0 / 1.106 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005156/1.237, allocations: 51.92 kB / 1.107 GB, free: 9.629 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * 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 (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.00138/1.239, allocations: 0.8358 MB / 1.107 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004663/1.239, allocations: 69.17 kB / 1.107 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.239, allocations: 0 / 1.107 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/1.24, allocations: 56.11 kB / 1.107 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/1.24, allocations: 16.61 kB / 1.107 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/1.242, allocations: 200.3 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/1.242, allocations: 0.7002 MB / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002043/1.242, allocations: 16.55 kB / 1.108 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/1.243, allocations: 35.42 kB / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of SimCode: time 1.713e-06/1.243, allocations: 0 / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/1.29, allocations: 2.928 MB / 1.111 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003445/1.29, allocations: 184.1 kB / 1.111 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.82, allocations: 0 / 1.111 GB, free: 4.586 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)