Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001017/0.001017, allocations: 172.8 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0009088/0.0009091, allocations: 94.33 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.26e-05, allocations: 0 / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7139, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.9111, allocations: 139.6 MB / 1.101 GB, free: 124 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.9114, allocations: 86.11 kB / 1.101 GB, free: 40 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.01018/0.9216, allocations: 3.302 MB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9217, allocations: 0.7188 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.9217, allocations: 0 / 1.104 GB, free: 12.8 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.0006763/0.9224, allocations: 498.6 kB / 1.105 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.9224, allocations: 8.656 kB / 1.105 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.9225, allocations: 21.7 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.9227, allocations: 174.9 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.9227, allocations: 4 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.9228, allocations: 5.656 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001154/0.9229, allocations: 35.98 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.9231, allocations: 65.66 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.9231, allocations: 7.984 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.9231, allocations: 7.641 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.9231, allocations: 0 / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.9237, allocations: 313.2 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.9238, allocations: 67.62 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.9239, allocations: 32.84 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.924, allocations: 5.906 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.9241, allocations: 93.62 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 3.466e-06/0.9241, allocations: 4.094 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002936/0.9244, allocations: 122.8 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.9245, allocations: 55.41 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.9246, allocations: 137.8 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.9246, allocations: 25.7 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.9247, allocations: 92.14 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.9247, allocations: 31.78 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.9247, allocations: 0 / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9249, allocations: 326.8 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.9249, allocations: 20 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.687e-05/0.925, allocations: 61.14 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.029e-05/0.9251, allocations: 27.92 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9251, allocations: 3.938 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001787/0.9253, allocations: 109.5 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9253, allocations: 8 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.9253, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.9253, allocations: 4 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.9254, allocations: 25.33 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.9255, allocations: 7.953 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.9256, allocations: 15.89 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.9256, allocations: 8.094 kB / 1.106 GB, free: 10.21 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 9.359e-05/0.9257, allocations: 111.2 kB / 1.107 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002309/0.9259, allocations: 125.5 kB / 1.107 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.926, allocations: 7.906 kB / 1.107 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.9263, allocations: 146.8 kB / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9263, allocations: 7.953 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9263, allocations: 144 / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.9263, allocations: 7.984 kB / 1.107 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.9269, allocations: 420.1 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9269, allocations: 0 / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.927, allocations: 15.98 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.927, allocations: 3.953 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.927, allocations: 9.031 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.927, allocations: 3.938 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.927, allocations: 8 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.9273, allocations: 221.1 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.9274, allocations: 89 kB / 1.108 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.9274, allocations: 3.953 kB / 1.108 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.9275, allocations: 11.98 kB / 1.108 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.9276, allocations: 19.98 kB / 1.108 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.9276, allocations: 4 kB / 1.108 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.335e-05/0.9277, allocations: 103.3 kB / 1.108 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9277, allocations: 0 / 1.108 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003426/0.9281, allocations: 51.92 kB / 1.108 GB, free: 8.777 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.0008164/0.9289, allocations: 0.8354 MB / 1.109 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.9291, allocations: 75.92 kB / 1.109 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9291, allocations: 0 / 1.109 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.9292, allocations: 51.92 kB / 1.109 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.9294, allocations: 17.2 kB / 1.109 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.93, allocations: 202.7 kB / 1.109 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.9303, allocations: 0.7002 MB / 1.11 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.346e-05/0.9303, allocations: 16.81 kB / 1.11 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.9304, allocations: 39.42 kB / 1.11 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of SimCode: time 3.9e-07/0.9304, allocations: 0 / 1.11 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.9536, allocations: 2.922 MB / 1.112 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.9538, allocations: 198.7 kB / 1.113 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.546, allocations: 0 / 1.113 GB, free: 3.727 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)