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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001302/0.001302, allocations: 185 kB / 377.1 MB, free: 1.527 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.845/1.845, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.001226/0.001226, allocations: 94.84 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.000363, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7219/0.9809, allocations: 141 MB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.9811, allocations: 80.89 kB / 1.126 GB, free: 34.01 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008841/0.99, allocations: 2.993 MB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.353e-06/0.99, allocations: 0 / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.9901, allocations: 0 / 1.129 GB, free: 31.87 MB / 0.7292 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.0005116/0.9906, allocations: 425.9 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.9906, allocations: 23.95 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.9907, allocations: 33.98 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.9907, allocations: 10.56 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.9908, allocations: 170.9 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.9909, allocations: 7.438 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.9909, allocations: 3.422 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.9911, allocations: 75.67 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9911, allocations: 0 / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.9911, allocations: 1.25 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.9911, allocations: 4 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.9913, allocations: 45.94 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.9919, allocations: 318.6 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.992, allocations: 54.55 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.9921, allocations: 0 / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.9923, allocations: 78.45 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.9923, allocations: 4 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004026/0.9927, allocations: 151.9 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.9927, allocations: 51.41 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.9928, allocations: 112.6 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.9929, allocations: 37.12 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.9929, allocations: 92.23 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.993, allocations: 15.81 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.993, allocations: 0.5625 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.9931, allocations: 322.4 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.9932, allocations: 23.47 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.9933, allocations: 57.73 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.9934, allocations: 36.06 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9934, allocations: 0 / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002234/0.9936, allocations: 117.6 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9936, allocations: 4 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9936, allocations: 0.5 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.9937, allocations: 4 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.9938, allocations: 19.55 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9938, allocations: 0 / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.9939, allocations: 16.62 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.9939, allocations: 7.953 kB / 1.131 GB, free: 29.51 MB / 0.7292 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 () * 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 8.282e-05/0.994, allocations: 117.9 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.994, allocations: 4 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.994, allocations: 13.53 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9941, allocations: 0 / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.9941, allocations: 0.5625 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.9941, allocations: 0.8438 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.9945, allocations: 398.4 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9945, allocations: 0 / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.9946, allocations: 8.5 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9946, allocations: 0 / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.9946, allocations: 0 / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9946, allocations: 4 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9946, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.9949, allocations: 218 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.9949, allocations: 85.98 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.995, allocations: 4.812 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.995, allocations: 7.609 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.9951, allocations: 7.516 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.9951, allocations: 0 / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.9952, allocations: 103.3 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9952, allocations: 3.938 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003206/0.9955, allocations: 44 kB / 1.132 GB, free: 28.48 MB / 0.7292 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 () * 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.0006979/0.9962, allocations: 0.8259 MB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.9964, allocations: 79.2 kB / 1.133 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9965, allocations: 128 / 1.133 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.9966, allocations: 35.56 kB / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.9968, allocations: 15.14 kB / 1.133 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.9975, allocations: 0.7355 MB / 1.134 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.9976, allocations: 0.6913 MB / 1.135 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.129e-05/0.9977, allocations: 10.06 kB / 1.135 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.9977, allocations: 22.91 kB / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of SimCode: time 3.8e-07/0.9977, allocations: 0.8438 kB / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/1.012, allocations: 2.493 MB / 1.137 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/1.013, allocations: 233.5 kB / 1.137 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.71, allocations: 0 / 1.137 GB, free: 24.49 MB / 0.7292 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)