Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.713/2.713, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.001443/0.001443, allocations: 188.8 kB / 360.6 MB, free: 7.305 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.175/2.175, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.00101/0.00101, allocations: 86.44 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.38e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.812, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/1.15, allocations: 139.3 MB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004529/1.151, allocations: 84.8 kB / 1.1 GB, free: 1.062 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.02094/1.172, allocations: 3.125 MB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.575e-06/1.172, allocations: 0 / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.327e-05/1.172, allocations: 4.812 kB / 1.103 GB, free: 13.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001154/1.173, allocations: 468.7 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/1.173, allocations: 8.719 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/1.173, allocations: 11.91 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/1.174, allocations: 176.2 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/1.174, allocations: 33.45 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/1.174, allocations: 11.97 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001982/1.174, allocations: 28.53 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/1.174, allocations: 66.34 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.174, allocations: 4 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/1.174, allocations: 2.5 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.174, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/1.176, allocations: 307.9 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/1.176, allocations: 58.56 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/1.176, allocations: 28.89 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/1.176, allocations: 3.188 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/1.176, allocations: 83.38 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 3.045e-06/1.176, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005168/1.177, allocations: 116.6 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.177, allocations: 51.41 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/1.177, allocations: 124 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/1.177, allocations: 29.7 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/1.177, allocations: 94.95 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/1.177, allocations: 27.8 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/1.177, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001909/1.178, allocations: 322.8 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/1.178, allocations: 20 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/1.178, allocations: 66.39 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/1.178, allocations: 27.92 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.178, allocations: 0 / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003955/1.178, allocations: 105.6 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/1.178, allocations: 4.781 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.178, allocations: 4 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.179, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/1.179, allocations: 19.92 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/1.179, allocations: 7.984 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/1.179, allocations: 15.92 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/1.179, allocations: 7.953 kB / 1.105 GB, free: 11.47 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001521/1.179, allocations: 118.6 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000414/1.18, allocations: 105.6 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/1.18, allocations: 11.89 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.441e-05/1.18, allocations: 12.62 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.18, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.18, allocations: 5.266 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.18, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/1.181, allocations: 382.9 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.181, allocations: 7.812 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/1.181, allocations: 4 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/1.181, allocations: 8.078 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/1.181, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.181, allocations: 3.953 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.181, allocations: 5.484 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/1.182, allocations: 207.4 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/1.182, allocations: 85.02 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/1.182, allocations: 4 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/1.182, allocations: 11.98 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/1.182, allocations: 19.92 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/1.182, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001182/1.183, allocations: 100.7 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.82e-07/1.183, allocations: 7.5 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007668/1.183, allocations: 47.92 kB / 1.106 GB, free: 10.27 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.001482/1.185, allocations: 0.8018 MB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003549/1.185, allocations: 67.86 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.185, allocations: 0 / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/1.186, allocations: 39.98 kB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/1.186, allocations: 9.078 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.187, allocations: 180.5 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/1.188, allocations: 0.7007 MB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001433/1.188, allocations: 4.672 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/1.188, allocations: 23.42 kB / 1.108 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of SimCode: time 1.593e-06/1.188, allocations: 4 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/1.229, allocations: 2.599 MB / 1.11 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/1.229, allocations: 179.4 kB / 1.11 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/3.81, allocations: 3.938 kB / 1.11 GB, free: 5.645 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)