Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009967/0.0009967, allocations: 80.3 kB / 21.47 MB, free: 3.027 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 168.3 kB / 24.87 MB, free: 8.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9618/0.9618, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.769/1.769, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.647e-05, allocations: 6.234 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00264/0.002666, allocations: 1.547 MB / 0.7898 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.003962, allocations: 0.7766 MB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.004031, allocations: 1.219 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.004062, allocations: 3.938 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.004128, allocations: 19.8 kB / 0.7906 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.004795, allocations: 148.6 kB / 0.7907 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.004928, allocations: 79.7 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.005015, allocations: 9.094 kB / 0.7908 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.005181, allocations: 55.81 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.005247, allocations: 32.61 kB / 0.7909 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.005266, allocations: 4 kB / 0.7909 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.005542, allocations: 141.3 kB / 0.791 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.005569, allocations: 15.92 kB / 0.791 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.005608, allocations: 27.91 kB / 0.7911 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.005861, allocations: 151.5 kB / 0.7912 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.005866, allocations: 7.484 kB / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.005867, allocations: 0 / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.005872, allocations: 0 / 0.7912 GB, free: 9.262 MB / 0.7448 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.0005107/0.006382, allocations: 445.8 kB / 0.7916 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.006416, allocations: 8.031 kB / 0.7916 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.006674, allocations: 36.86 kB / 0.7917 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.006822, allocations: 133 kB / 0.7918 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.006842, allocations: 384 / 0.7918 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.006853, allocations: 5 kB / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.00698, allocations: 72.58 kB / 0.7919 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006987, allocations: 192 / 0.7919 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.006996, allocations: 4.125 kB / 0.7919 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.007001, allocations: 0 / 0.7919 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.007035, allocations: 15.92 kB / 0.7919 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.007427, allocations: 282.3 kB / 0.7922 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.993e-05/0.007497, allocations: 43.05 kB / 0.7922 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.007522, allocations: 11.69 kB / 0.7922 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.007536, allocations: 5.375 kB / 0.7922 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.051e-05/0.007627, allocations: 68.91 kB / 0.7923 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.007628, allocations: 0 / 0.7923 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002179/0.007846, allocations: 98.36 kB / 0.7924 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.007882, allocations: 56.72 kB / 0.7924 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.007977, allocations: 181.8 kB / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.007994, allocations: 33.7 kB / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.008048, allocations: 138.8 kB / 0.7928 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.008068, allocations: 16.64 kB / 0.7928 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.00812, allocations: 35.34 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.008247, allocations: 0.4902 MB / 0.7933 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.008272, allocations: 7.984 kB / 0.7933 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.008313, allocations: 42.98 kB / 0.7933 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.008384, allocations: 55.66 kB / 0.7934 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008386, allocations: 0 / 0.7934 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001299/0.008516, allocations: 82.5 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.00853, allocations: 9.219 kB / 0.7935 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.008535, allocations: 0 / 0.7935 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.008543, allocations: 3.938 kB / 0.7935 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.008616, allocations: 20.52 kB / 0.7935 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.008619, allocations: 1.188 kB / 0.7935 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.008664, allocations: 15.94 kB / 0.7935 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.008674, allocations: 4 kB / 0.7935 GB, free: 6.66 MB / 0.7448 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 7.931e-05/0.008753, allocations: 162.7 kB / 0.7937 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.008771, allocations: 11.89 kB / 0.7937 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.008792, allocations: 9.469 kB / 0.7937 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.008795, allocations: 4 kB / 0.7937 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.008797, allocations: 0.6875 kB / 0.7937 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.008801, allocations: 7.922 kB / 0.7937 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.00909, allocations: 323 kB / 0.794 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.009093, allocations: 4 kB / 0.794 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.009116, allocations: 4 kB / 0.794 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.009118, allocations: 5.031 kB / 0.794 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.009128, allocations: 7.984 kB / 0.794 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009129, allocations: 0 / 0.794 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.009131, allocations: 0.8438 kB / 0.794 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.009306, allocations: 239.7 kB / 0.7943 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.009318, allocations: 14.16 kB / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.009333, allocations: 3.984 kB / 0.7943 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.009398, allocations: 8 kB / 0.7943 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.009427, allocations: 3.984 kB / 0.7943 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.009436, allocations: 4 kB / 0.7943 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.009484, allocations: 138 kB / 0.7944 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009484, allocations: 2.781 kB / 0.7944 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003028/0.009787, allocations: 35.94 kB / 0.7945 GB, free: 5.645 MB / 0.7448 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.0003168/0.0101, allocations: 169.8 kB / 0.7946 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01022, allocations: 43.59 kB / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01022, allocations: 0 / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.01026, allocations: 27.61 kB / 0.7947 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01052, allocations: 27.17 kB / 0.7947 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.01109, allocations: 180.2 kB / 0.7949 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.01114, allocations: 64.44 kB / 0.795 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.01117, allocations: 4.656 kB / 0.795 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.01123, allocations: 74.2 kB / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.01123, allocations: 1.188 kB / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.004255/0.01549, allocations: 1.723 MB / 0.7967 GB, free: 3.316 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146528979297727]