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 2.859/2.859, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001461/0.00146, allocations: 177.7 kB / 370.8 MB, free: 10.86 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.131/2.131, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 103.8 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008337/0.0008332, allocations: 11.38 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2515, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.26, allocations: 140.2 MB / 1.115 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.261, allocations: 82.59 kB / 1.115 GB, free: 15.75 MB / 0.6823 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.01491/1.276, allocations: 3.333 MB / 1.119 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.287e-06/1.276, allocations: 0 / 1.119 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.21e-05/1.276, allocations: 7.844 kB / 1.119 GB, free: 31.29 MB / 0.698 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.0009372/1.277, allocations: 0.5126 MB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.277, allocations: 15.55 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/1.277, allocations: 35.61 kB / 1.119 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/1.277, allocations: 11.72 kB / 1.119 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/1.277, allocations: 180.4 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/1.277, allocations: 7.406 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/1.277, allocations: 3.812 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/1.277, allocations: 91.3 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.277, allocations: 0 / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/1.277, allocations: 3.312 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.277, allocations: 3.875 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/1.278, allocations: 52.44 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/1.278, allocations: 325.6 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/1.279, allocations: 89.02 kB / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/1.279, allocations: 3.938 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/1.279, allocations: 103.9 kB / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.836e-06/1.279, allocations: 0 / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006238/1.28, allocations: 193.1 kB / 1.12 GB, free: 30.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/1.28, allocations: 51.41 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/1.28, allocations: 129.9 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.28, allocations: 29.45 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/1.28, allocations: 97.84 kB / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/1.28, allocations: 20.91 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/1.28, allocations: 3.312 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.28, allocations: 322.3 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/1.28, allocations: 34.53 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/1.28, allocations: 71.47 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/1.281, allocations: 43.47 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.281, allocations: 0 / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003804/1.281, allocations: 141.2 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.281, allocations: 8.938 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.281, allocations: 7.891 kB / 1.121 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.281, allocations: 3.875 kB / 1.121 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.281, allocations: 15.61 kB / 1.121 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.281, allocations: 3.875 kB / 1.121 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/1.281, allocations: 14.2 kB / 1.121 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/1.281, allocations: 9.062 kB / 1.121 GB, free: 29.37 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.282, allocations: 125.5 kB / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/1.282, allocations: 11.66 kB / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/1.282, allocations: 174.5 kB / 1.121 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.282, allocations: 7.938 kB / 1.121 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.282, allocations: 0 / 1.121 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.282, allocations: 1.547 kB / 1.121 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008646/1.283, allocations: 468.4 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.283, allocations: 0 / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/1.283, allocations: 22.42 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/1.283, allocations: 0 / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/1.283, allocations: 13.86 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.283, allocations: 0 / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.283, allocations: 4 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/1.284, allocations: 251.9 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/1.284, allocations: 84.83 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/1.284, allocations: 6.859 kB / 1.122 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/1.284, allocations: 18.09 kB / 1.122 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/1.284, allocations: 10.67 kB / 1.122 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/1.284, allocations: 6.891 kB / 1.122 GB, free: 28.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.839e-05/1.284, allocations: 111.8 kB / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.362e-06/1.284, allocations: 0 / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004736/1.285, allocations: 53.47 kB / 1.122 GB, free: 28.54 MB / 0.698 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 (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.001166/1.286, allocations: 0.8585 MB / 1.123 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003827/1.286, allocations: 101 kB / 1.123 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.287, allocations: 3.938 kB / 1.123 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/1.287, allocations: 50.05 kB / 1.123 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/1.287, allocations: 23.39 kB / 1.123 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/1.288, allocations: 1.262 MB / 1.125 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/1.289, allocations: 0.709 MB / 1.125 GB, free: 25.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.587e-05/1.289, allocations: 11.55 kB / 1.125 GB, free: 25.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/1.289, allocations: 32.97 kB / 1.125 GB, free: 25.95 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.289, allocations: 0 / 1.125 GB, free: 25.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/1.313, allocations: 3.242 MB / 1.129 GB, free: 25.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.313, allocations: 233.2 kB / 1.129 GB, free: 25.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.945, allocations: 4 kB / 1.129 GB, free: 25.43 MB / 0.698 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)