Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008625/0.008626, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004118, allocations: 12.28 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3858, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00156/0.3874, allocations: 1.2 MB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3886, allocations: 0.7207 MB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.3886, allocations: 7.938 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.3886, allocations: 4 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.3887, allocations: 7.875 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.3891, allocations: 103.8 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3893, allocations: 67.84 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.3893, allocations: 11.97 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.3894, allocations: 31.91 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.3895, allocations: 39.84 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3895, allocations: 7.984 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.3897, allocations: 87.86 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.3898, allocations: 19.91 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.3898, allocations: 49.56 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.39, allocations: 139.9 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3901, allocations: 0 / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3901, allocations: 0 / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.3901, allocations: 0 / 1.077 GB, free: 5.031 MB / 0.8262 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.0005749/0.3907, allocations: 409 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3907, allocations: 8.031 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.3907, allocations: 8.844 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3909, allocations: 176.2 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3909, allocations: 4.375 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.3909, allocations: 4.375 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3911, allocations: 77.95 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3912, allocations: 4 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3912, allocations: 7.984 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3912, allocations: 0 / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3913, allocations: 43.92 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.3919, allocations: 328.5 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3921, allocations: 50.56 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.3922, allocations: 36.97 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3922, allocations: 4 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.3924, allocations: 75.38 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.3924, allocations: 3.938 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004093/0.3929, allocations: 153.6 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3929, allocations: 55.39 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.393, allocations: 117.8 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.393, allocations: 29.7 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.3931, allocations: 92.12 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3931, allocations: 19.75 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3932, allocations: 17.72 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3933, allocations: 318.8 kB / 1.079 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.3934, allocations: 35.98 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.3935, allocations: 50.55 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.3937, allocations: 82.8 kB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3937, allocations: 0 / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002999/0.394, allocations: 121.5 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.394, allocations: 9.094 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.394, allocations: 0 / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.394, allocations: 4.062 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.3941, allocations: 19.92 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3942, allocations: 0 / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.3942, allocations: 7.906 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.3943, allocations: 11.98 kB / 1.079 GB, free: 2.445 MB / 0.8262 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.0001117/0.3944, allocations: 121.7 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3944, allocations: 4 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.3944, allocations: 12.38 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3944, allocations: 4 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3944, allocations: 0 / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3945, allocations: 0 / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.3949, allocations: 390.2 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3949, allocations: 0 / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.395, allocations: 15.98 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.395, allocations: 0 / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.395, allocations: 0 / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.395, allocations: 0 / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.395, allocations: 7.938 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.3953, allocations: 219.4 kB / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.3954, allocations: 85.02 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3954, allocations: 3.938 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.3955, allocations: 7.984 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.3956, allocations: 11.94 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3956, allocations: 0 / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.3956, allocations: 95.92 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3956, allocations: 0 / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003076/0.396, allocations: 39.98 kB / 1.08 GB, free: 1.348 MB / 0.8262 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.0004217/0.3964, allocations: 157.7 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.3967, allocations: 75.89 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.3968, allocations: 8.125 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3969, allocations: 36.31 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.3971, allocations: 9.203 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.3976, allocations: 219.1 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3978, allocations: 0.6887 MB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.3979, allocations: 7.984 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.3979, allocations: 11.44 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3979, allocations: 3.938 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of Templates: time 0.004099/0.402, allocations: 1.36 MB / 1.082 GB, free: 14.73 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)