Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001674, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.277/3.277, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.233/3.233, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001049/0.00105, allocations: 15.84 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4912, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002851/0.4941, allocations: 1.184 MB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.4963, allocations: 0.7104 MB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.4964, allocations: 4 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.4964, allocations: 7.922 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.4965, allocations: 11.98 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007901/0.4973, allocations: 91.75 kB / 0.7892 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.4975, allocations: 47.88 kB / 0.7892 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4977, allocations: 4 kB / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.4978, allocations: 35.89 kB / 0.7893 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.931e-05/0.498, allocations: 27.91 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.498, allocations: 4 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.4983, allocations: 79.8 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.4983, allocations: 11.98 kB / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.4984, allocations: 37.64 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.4987, allocations: 100 kB / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4987, allocations: 0 / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4987, allocations: 4 kB / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.4987, allocations: 0 / 0.7895 GB, free: 9.484 MB / 0.6075 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.0008945/0.4996, allocations: 404.8 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.4997, allocations: 12.03 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.247e-05/0.4998, allocations: 34.56 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.4999, allocations: 11.84 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.5001, allocations: 178.8 kB / 0.7901 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.5001, allocations: 8 kB / 0.7901 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.5002, allocations: 7.984 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.5005, allocations: 65.66 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5005, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.5006, allocations: 8 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5006, allocations: 4 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.5008, allocations: 43.95 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.5018, allocations: 320.7 kB / 0.7906 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.502, allocations: 54.5 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.5021, allocations: 3.984 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.5024, allocations: 79.5 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.5024, allocations: 0 / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0007017/0.5031, allocations: 153.5 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.5032, allocations: 59.34 kB / 0.7909 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.5034, allocations: 117.8 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.5035, allocations: 33.7 kB / 0.7911 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.5036, allocations: 96.25 kB / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.5036, allocations: 11.81 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.5036, allocations: 0 / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.5038, allocations: 322.8 kB / 0.7915 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.504, allocations: 23.98 kB / 0.7915 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.5042, allocations: 54.56 kB / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.5044, allocations: 31.98 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5044, allocations: 0 / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000412/0.5048, allocations: 121.5 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.5048, allocations: 8 kB / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5049, allocations: 3.938 kB / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.5049, allocations: 0 / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.505, allocations: 19.92 kB / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.5051, allocations: 3.953 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.5052, allocations: 4 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.5052, allocations: 4 kB / 0.7917 GB, free: 6.984 MB / 0.6075 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 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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 0.000187/0.5055, allocations: 125.8 kB / 0.7918 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.5055, allocations: 7.906 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.5056, allocations: 8.375 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5056, allocations: 4 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.5056, allocations: 0 / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.5056, allocations: 3.953 kB / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.5064, allocations: 386.9 kB / 0.7922 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5065, allocations: 0 / 0.7922 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.5065, allocations: 15.92 kB / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5066, allocations: 0 / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.5066, allocations: 0 / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.5066, allocations: 4.031 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5066, allocations: 3.984 kB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.5072, allocations: 227.3 kB / 0.7925 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.5072, allocations: 85.02 kB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.5073, allocations: 0 / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.5075, allocations: 8 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.5075, allocations: 11.94 kB / 0.7926 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.5076, allocations: 0 / 0.7926 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.696e-05/0.5077, allocations: 95.27 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.82e-07/0.5077, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006114/0.5083, allocations: 39.98 kB / 0.7927 GB, free: 5.879 MB / 0.6075 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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.001348/0.5097, allocations: 0.8121 MB / 0.7935 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.5101, allocations: 71.95 kB / 0.7936 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5101, allocations: 8.062 kB / 0.7936 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.5103, allocations: 43.91 kB / 0.7936 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.5107, allocations: 14.7 kB / 0.7936 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.5121, allocations: 0.7227 MB / 0.7943 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.5126, allocations: 0.6965 MB / 0.795 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.718e-05/0.5127, allocations: 4.188 kB / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.5127, allocations: 19.42 kB / 0.795 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.5128, allocations: 0 / 0.795 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.5385, allocations: 2.314 MB / 0.7973 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004809/0.5391, allocations: 236.3 kB / 0.7975 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/3.79, allocations: 0 / 0.7975 GB, free: 1.027 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) Environment - environmentSimulation: