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.0007301/0.0007301, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00418/0.00418, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 222.4 MB, free: 5.566 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 1.725/1.725, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005536/0.0005537, allocations: 19.34 kB / 0.6744 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2413, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001663/0.243, allocations: 1.204 MB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2443, allocations: 0.7529 MB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.2444, allocations: 0 / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2444, allocations: 7.922 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.2444, allocations: 3.938 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.245, allocations: 103.8 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.2451, allocations: 71.83 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2453, allocations: 11.98 kB / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.631e-05/0.2454, allocations: 35.8 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2455, allocations: 35.89 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.2455, allocations: 4 kB / 0.7902 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.2457, allocations: 87.91 kB / 0.7903 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.2458, allocations: 15.92 kB / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.2459, allocations: 49.56 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.2462, allocations: 143.8 kB / 0.7905 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2462, allocations: 4 kB / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2462, allocations: 0 / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2462, allocations: 0 / 0.7905 GB, free: 8.918 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.0007855/0.247, allocations: 409 kB / 0.7908 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.247, allocations: 8.031 kB / 0.7909 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.2471, allocations: 34.75 kB / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.2472, allocations: 8.844 kB / 0.7909 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2474, allocations: 184.1 kB / 0.7911 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.2474, allocations: 12.36 kB / 0.7911 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.2475, allocations: 4.375 kB / 0.7911 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.2478, allocations: 77.72 kB / 0.7912 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2478, allocations: 3.938 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2479, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2479, allocations: 4 kB / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.2481, allocations: 43.97 kB / 0.7912 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007579/0.2488, allocations: 312.8 kB / 0.7915 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.249, allocations: 62.48 kB / 0.7916 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2492, allocations: 32.97 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2492, allocations: 4.062 kB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.2494, allocations: 79.38 kB / 0.7917 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2494, allocations: 4 kB / 0.7917 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004982/0.2499, allocations: 141.5 kB / 0.7918 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.25, allocations: 59.34 kB / 0.7919 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2501, allocations: 121.8 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2502, allocations: 29.7 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.2502, allocations: 95.98 kB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.2503, allocations: 19.88 kB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.2503, allocations: 17.72 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2505, allocations: 326.8 kB / 0.7925 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2506, allocations: 23.98 kB / 0.7925 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2507, allocations: 50.56 kB / 0.7925 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.251, allocations: 86.73 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.251, allocations: 0 / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003284/0.2513, allocations: 125.5 kB / 0.7927 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2513, allocations: 4 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2514, allocations: 0 / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2514, allocations: 4 kB / 0.7927 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2515, allocations: 11.98 kB / 0.7927 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2515, allocations: 0 / 0.7927 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.2516, allocations: 15.91 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2516, allocations: 4.062 kB / 0.7928 GB, free: 6.289 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.2518, allocations: 137.1 kB / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.2518, allocations: 0 / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.2518, allocations: 12.38 kB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2519, allocations: 0 / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2519, allocations: 0 / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2519, allocations: 0 / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.2525, allocations: 394.4 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2525, allocations: 0 / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.2526, allocations: 11.98 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2526, allocations: 3.938 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2526, allocations: 0 / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2526, allocations: 7.938 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2526, allocations: 3.938 kB / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.2531, allocations: 215.4 kB / 0.7935 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.2531, allocations: 77.11 kB / 0.7936 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.2532, allocations: 4 kB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2533, allocations: 7.938 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2534, allocations: 11.98 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2534, allocations: 4 kB / 0.7936 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.619e-05/0.2535, allocations: 91.27 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2535, allocations: 0 / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000427/0.2539, allocations: 39.98 kB / 0.7937 GB, free: 5.191 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000992/0.2549, allocations: 0.8092 MB / 0.7945 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003029/0.2552, allocations: 84.27 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2552, allocations: 0 / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2554, allocations: 36.14 kB / 0.7946 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.2557, allocations: 19.25 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.258, allocations: 1.538 MB / 0.7962 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2583, allocations: 0.6848 MB / 0.7968 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.501e-05/0.2583, allocations: 4 kB / 0.7968 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.2584, allocations: 23.42 kB / 0.7969 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2584, allocations: 0 / 0.7969 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.2749, allocations: 2.337 MB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/0.2753, allocations: 259.8 kB / 0.7994 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.064, allocations: 0 / 0.7994 GB, free: 15.38 MB / 0.6231 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/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)