Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.001678/0.001678, allocations: 100 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.002444/0.002444, allocations: 177.3 kB / 15.95 MB, free: 216 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.656 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.23/3.23, allocations: 292.6 MB / 0.5497 GB, free: 14.67 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.0008504/0.0008507, allocations: 12.25 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4972, allocations: 116.3 MB / 0.7872 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002955/0.5003, allocations: 1.173 MB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.5023, allocations: 0.7221 MB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.5024, allocations: 0 / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.5025, allocations: 3.938 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.5026, allocations: 19.95 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.5034, allocations: 87.77 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.5036, allocations: 47.88 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.5037, allocations: 11.98 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.5039, allocations: 27.92 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.504, allocations: 35.88 kB / 0.7893 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.5041, allocations: 4 kB / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.5043, allocations: 67.83 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.5044, allocations: 15.97 kB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.5045, allocations: 37.64 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.5047, allocations: 104 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5048, allocations: 0 / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.569e-06/0.5048, allocations: 0 / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.5048, allocations: 0 / 0.7895 GB, free: 9.578 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.001019/0.5058, allocations: 400.8 kB / 0.7899 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.5059, allocations: 15.97 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.506, allocations: 42.55 kB / 0.79 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.5061, allocations: 11.91 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.5063, allocations: 178.9 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.5063, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.5064, allocations: 4 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.5067, allocations: 77.58 kB / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.5067, allocations: 7.984 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.5067, allocations: 3.984 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5067, allocations: 0 / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.5069, allocations: 39.98 kB / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/0.5079, allocations: 324.7 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.5081, allocations: 54.5 kB / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.5082, allocations: 0 / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.5085, allocations: 83.56 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5085, allocations: 0 / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006272/0.5092, allocations: 149.5 kB / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.5093, allocations: 55.36 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.5095, allocations: 125.8 kB / 0.791 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.5095, allocations: 25.7 kB / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.5096, allocations: 96.27 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.5097, allocations: 19.8 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5097, allocations: 0 / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.5099, allocations: 314.8 kB / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.51, allocations: 35.97 kB / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.5102, allocations: 46.56 kB / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.5103, allocations: 35.98 kB / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5103, allocations: 0 / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000436/0.5108, allocations: 121.5 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.5108, allocations: 8.062 kB / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5109, allocations: 3.938 kB / 0.7917 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.5109, allocations: 4 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.511, allocations: 15.92 kB / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.5111, allocations: 3.953 kB / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.5112, allocations: 8 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.5112, allocations: 4 kB / 0.7917 GB, free: 7.066 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.0001798/0.5114, allocations: 129 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.5114, allocations: 7.891 kB / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.5115, allocations: 12.38 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5115, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5115, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5115, allocations: 3.953 kB / 0.7919 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.5123, allocations: 390.4 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5123, allocations: 0 / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.5123, allocations: 4 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5123, allocations: 0 / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.5124, allocations: 3.984 kB / 0.7923 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5124, allocations: 3.953 kB / 0.7923 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5124, allocations: 4 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.5128, allocations: 215.8 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.5129, allocations: 89 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.5129, allocations: 4 kB / 0.7926 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.513, allocations: 4 kB / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.5131, allocations: 15.94 kB / 0.7926 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5132, allocations: 0 / 0.7926 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.534e-05/0.5132, allocations: 95.27 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5133, allocations: 4 kB / 0.7927 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004856/0.5138, allocations: 36 kB / 0.7927 GB, free: 5.969 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.001283/0.515, allocations: 0.8149 MB / 0.7935 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.5154, allocations: 79.94 kB / 0.7936 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5154, allocations: 0 / 0.7936 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.5156, allocations: 40.05 kB / 0.7936 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.5159, allocations: 10.39 kB / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.5172, allocations: 0.7266 MB / 0.7943 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.5177, allocations: 0.6926 MB / 0.795 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.948e-05/0.5177, allocations: 8.188 kB / 0.795 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.5178, allocations: 26.8 kB / 0.795 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of SimCode: time 1.443e-06/0.5178, allocations: 0 / 0.795 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.5415, allocations: 2.301 MB / 0.7973 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/0.5419, allocations: 239.3 kB / 0.7975 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/3.679, allocations: 0 / 0.7975 GB, free: 1.117 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) Environment - environmentSimulation: