Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.753/1.753, allocations: 285.4 MB / 298 MB, free: 5.93 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.001267/0.001267, allocations: 172.8 kB / 366.4 MB, free: 2.09 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.91/1.91, allocations: 205.1 MB / 0.6248 GB, free: 7.699 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.0008915/0.0008918, allocations: 93.47 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.648e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7868, allocations: 115.3 MB / 0.971 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2109/0.9978, allocations: 139.9 MB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.9981, allocations: 87.94 kB / 1.108 GB, free: 11.73 MB / 0.7136 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.009153/1.007, allocations: 2.971 MB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/1.007, allocations: 1.406 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.007, allocations: 2.344 kB / 1.111 GB, free: 8.793 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005082/1.008, allocations: 419.9 kB / 1.111 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.008, allocations: 8.031 kB / 1.111 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/1.008, allocations: 35.28 kB / 1.111 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/1.008, allocations: 7.906 kB / 1.111 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/1.008, allocations: 175.5 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/1.008, allocations: 7 kB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/1.008, allocations: 8 kB / 1.111 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/1.008, allocations: 61.61 kB / 1.111 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/1.008, allocations: 0.7812 kB / 1.111 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.008, allocations: 0 / 1.111 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/1.008, allocations: 1.312 kB / 1.111 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.536e-05/1.008, allocations: 24 kB / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/1.009, allocations: 314.6 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/1.009, allocations: 50.31 kB / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/1.009, allocations: 26.89 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.009, allocations: 0 / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/1.009, allocations: 78.39 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/1.009, allocations: 0 / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002412/1.01, allocations: 89.67 kB / 1.112 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.01, allocations: 64.08 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/1.01, allocations: 116 kB / 1.112 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/1.01, allocations: 37.64 kB / 1.112 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/1.01, allocations: 88.95 kB / 1.112 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/1.01, allocations: 24.23 kB / 1.112 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/1.01, allocations: 0.8125 kB / 1.112 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.01, allocations: 318.8 kB / 1.112 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/1.01, allocations: 16.66 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/1.01, allocations: 46.45 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.568e-05/1.01, allocations: 19.98 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.01, allocations: 0 / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000166/1.011, allocations: 103.9 kB / 1.113 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.011, allocations: 5.406 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.011, allocations: 0 / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.011, allocations: 2.781 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/1.011, allocations: 15.98 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.011, allocations: 3.938 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/1.011, allocations: 11.95 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/1.011, allocations: 6.125 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.077e-05/1.011, allocations: 114.6 kB / 1.113 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/1.011, allocations: 7.906 kB / 1.113 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/1.011, allocations: 12.61 kB / 1.113 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.011, allocations: 0 / 1.113 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.011, allocations: 4 kB / 1.113 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/1.011, allocations: 0 / 1.113 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/1.011, allocations: 370.2 kB / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.011, allocations: 0 / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/1.011, allocations: 8 kB / 1.113 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.011, allocations: 0 / 1.113 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.011, allocations: 4 kB / 1.113 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.011, allocations: 3.984 kB / 1.113 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.011, allocations: 7.891 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/1.012, allocations: 195.4 kB / 1.113 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/1.012, allocations: 81.05 kB / 1.113 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/1.012, allocations: 0 / 1.113 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/1.012, allocations: 11.98 kB / 1.113 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/1.012, allocations: 11.88 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/1.012, allocations: 11.94 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.072e-05/1.012, allocations: 90.02 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.012, allocations: 0 / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002895/1.012, allocations: 55.83 kB / 1.114 GB, free: 5.387 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.000717/1.013, allocations: 0.7954 MB / 1.114 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001433/1.013, allocations: 51.98 kB / 1.114 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.013, allocations: 0 / 1.114 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/1.013, allocations: 31.94 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/1.013, allocations: 12.11 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/1.014, allocations: 153.5 kB / 1.115 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.014, allocations: 0.6926 MB / 1.115 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.978e-05/1.014, allocations: 4.188 kB / 1.115 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/1.014, allocations: 23.42 kB / 1.115 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/1.014, allocations: 0 / 1.115 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/1.028, allocations: 2.523 MB / 1.118 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.028, allocations: 215.9 kB / 1.118 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.58, allocations: 0 / 1.118 GB, free: 1.016 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)