Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.308/2.308, allocations: 252 MB / 267.3 MB, free: 10.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002334/0.002334, allocations: 173.1 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.363/3.363, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001736/0.001736, allocations: 94.58 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005965/0.0005967, allocations: 8.844 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3901, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002538/0.3927, allocations: 1.191 MB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3948, allocations: 0.7758 MB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.3949, allocations: 0 / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.395, allocations: 0 / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3951, allocations: 15.86 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.3959, allocations: 99.78 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.3961, allocations: 79.75 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.3962, allocations: 8 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3964, allocations: 23.92 kB / 0.9031 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3965, allocations: 39.81 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.3966, allocations: 4 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.3969, allocations: 91.84 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.397, allocations: 19.92 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.3971, allocations: 53.56 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.3974, allocations: 135.6 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.3974, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3974, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.3975, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 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.0008337/0.3983, allocations: 401.4 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.286e-05/0.3984, allocations: 19.95 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.3985, allocations: 38.75 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.3985, allocations: 8.844 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.3987, allocations: 172.2 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.3987, allocations: 4.359 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.3988, allocations: 16.3 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.3991, allocations: 69.78 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3991, allocations: 0 / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3991, allocations: 4 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3992, allocations: 4 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.3994, allocations: 43.91 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008966/0.4003, allocations: 328.7 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.4005, allocations: 50.56 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.4006, allocations: 32.97 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4007, allocations: 7.938 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.401, allocations: 83.31 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.401, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000591/0.4016, allocations: 145.9 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4017, allocations: 55.41 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.4018, allocations: 121.8 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4018, allocations: 25.7 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.4019, allocations: 96.12 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.402, allocations: 19.81 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.402, allocations: 4 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.4021, allocations: 322.8 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.4022, allocations: 31.98 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4023, allocations: 54.88 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.4026, allocations: 82.61 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4026, allocations: 0 / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003556/0.403, allocations: 117.5 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.403, allocations: 8 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.403, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.4031, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4032, allocations: 19.98 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.4032, allocations: 4 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.4033, allocations: 8 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4034, allocations: 4 kB / 0.9057 GB, free: 58.24 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.4035, allocations: 124.5 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.4036, allocations: 7.906 kB / 0.9058 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.4036, allocations: 8.375 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.4037, allocations: 11.94 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4037, allocations: 0 / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.4037, allocations: 4 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.4044, allocations: 382.4 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4044, allocations: 0 / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.4044, allocations: 11.98 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4044, allocations: 4 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.4045, allocations: 7.938 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4045, allocations: 3.938 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4045, allocations: 0 / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.4049, allocations: 215.3 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.405, allocations: 92.95 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.405, allocations: 0 / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.4052, allocations: 11.94 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.4053, allocations: 7.984 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.4053, allocations: 0 / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.4054, allocations: 95.27 kB / 0.9066 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4054, allocations: 0 / 0.9066 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005084/0.4059, allocations: 39.98 kB / 0.9067 GB, free: 57.13 MB / 0.6042 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.0009994/0.4069, allocations: 0.8102 MB / 0.9075 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.4073, allocations: 75.95 kB / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4073, allocations: 0 / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.4074, allocations: 35.92 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.4079, allocations: 19.86 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.4101, allocations: 1.531 MB / 0.9091 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.4103, allocations: 0.6926 MB / 0.9097 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.702e-05/0.4104, allocations: 8 kB / 0.9098 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.4105, allocations: 19.42 kB / 0.9098 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/0.4105, allocations: 0 / 0.9098 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.4296, allocations: 2.339 MB / 0.9121 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/0.4299, allocations: 281 kB / 0.9123 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.256, allocations: 6.875 kB / 0.9123 GB, free: 51.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)